本程序運用C語言中結構化程序的思想,將程序分為函數模塊的方法逐一實現。程序分為2個函數模塊HUFFMAN(tree1)、HUFFMANCODE(code1,tree1),和主體函數Main;程序結構清楚,運行正常,正常實現哈夫曼編碼。
上傳時間: 2017-07-28
上傳用戶:lingzhichao
client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int Main() { int sockfd int len struct sockaddr_in address int result char ch = A sockfd = socket(AF_INET, SOCK_STREAM, 0) address.sin_family = AF_INET address.sin_addr.s_addr = inet_addr("127.0.0.1") address.sin_port = 9734 len = sizeof(address) result = connect(sockfd, (struct sockaddr *)&address, len) if(result == -1) { perror("oops: client") exit(1) } write(sockfd, &ch, 1) read(sockfd, &ch, 1) printf("char from server = c\n", ch) close(sockfd) exit(0) }
上傳時間: 2017-07-29
上傳用戶:wab1981
This C++ application demonstrates how to display Chinese characters from resource files. The application supports internationalization and localization. In the updated version also the context-sensitive help has been added. The application supports following languages: English, Taiwan Chinese, Taiwan English, HongKong Chinese, HongKong English, Mainland Chinese, and Mainland English. Main classes: TFontSpec, CCnvCharacterSetConverter
標簽: demonstrates application characters resource
上傳時間: 2014-01-09
上傳用戶:hakim
基于二發(fā)二收MIMO系統(tǒng)的半盲信道估計,其中Main為主程序,其它為子程序
上傳時間: 2013-12-31
上傳用戶:duoshen1989
simple clock display clock Dimensions,Draw the circle and numbers,Formats the date ,Font for number ,Color of Main hands and dial,Color of second hand and numbers
標簽: clock Dimensions the Formats
上傳時間: 2014-11-24
上傳用戶:wanqunsheng
Its a project that i create. The program its like an helpdesk, that allows the user to introduce requests and manage them. The data is saved in .dat files and in .txt files. The Main file, the u should run is: n2006131015_Main
標簽: that introduce helpdesk project
上傳時間: 2013-12-07
上傳用戶:1159797854
是控制LED閃爍發(fā)光的簡單例程。該程序實際上是實用工程模板Demo的一個應用,直接從Main( )函數開始編寫。 在Main( )函數的前面,定義了LED所在的GPIO端口和管腳。在Main( )里,首先定義了一個變量ulClock,在調用函數clockInit( )時被初始化為當前的系統(tǒng)時鐘頻率,在后面對庫函數SysCtlDelay( )調用時會用到該變量。 控制LED分3步走:調用函數SysCtlPeriEnable( )使能LED所在的GPIO模塊,調用函數GPIOPinTypeOut( )配置LED所在的GPIO管腳為推挽輸出,調用GPIOPinWrite( )對LED所在的GPIO管腳寫0和寫1實現LED閃爍發(fā)光的效果。
上傳時間: 2014-01-27
上傳用戶:klin3139
This book is about writing TinyOS systems and applications in the nesC language. This chapter gives a brief overview of TinyOS and its intended uses. TinyOS is an open-source project which a large number of research universities and companies contribute to. The Main TinyOS website, http://www.tinyos.net, has instructions for downloading and installing the TinyOS programming environment. The website has a great deal of useful information which this book doesn’t cover, such as common hardware platforms and how to install code on a node.
標簽: This applications language chapter
上傳時間: 2017-09-04
上傳用戶:253189838
Description Combination of book reader and Web browsers. This program can be used for Web browsing, reading news sites, downloading and reading books and atricles from the Web. It is not implement all HTML browser functionality - it doesn t show images and is not able to proceed forms. The Main idea was to make it possible to view normal sites (not WAP sites) on very small screen of mobile phone. This application share a lot of code with MobiReader and first of all is inteded to be used to browse text data.
標簽: Description Combination Web browsers
上傳時間: 2013-12-16
上傳用戶:qweqweqwe
steppedchirp子函數產生一個子脈沖數為N的步進頻信號,子脈沖為chirp信號,參數可在Main函數中設置,結果保存在數組y[]中。
標簽: steppedchirp 函數 信號 脈沖
上傳時間: 2017-09-12
上傳用戶:haohaoxuexi