-
HuffmanTree
该系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。
(4) P:打印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。
(5) T:打印哈夫曼树(Tree printing)。将已在 中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件TreePrint中。
(The system should have the following features: (1) I: initialization (Initialization). Read from the terminal character set size n, and n and n characters right value, establishes a Huffman tree, and save it in the file hfmTree in. (2) E: encoding (Encoding). Has been built using the Huffman tree (if not in memory, reads from the file hfmTree), the text of the document ToBeTran encoded, and then putting the result in the CodeFile file. (3) D: decoding (Decoding). Huffman tree has been built using the file CodeFile the code will be decoded, the result is stored in the file TextFile. (4) P: Printing code files (Print). CodeFile in a compact format the document displayed on the terminal, one per line 50 code. While this character in the form of written documents CodePrin encoded file in. (5) T: Print Huffman tree (Tree printing). Would have been in the Huffman tree in an intuitive way (tree or recessed table form) displayed on the terminal, but this form of characters written to the file )
- 2013-06-21 13:45:16下载
- 积分:1
-
PWMC51demo
零耗时低频宽脉冲软PWM信号控制C51演示程序(zero time-consuming low-bandwidth pulses soft PWM control signal C51 Demonstration Program)
- 2006-10-22 14:55:22下载
- 积分:1
-
FFT2
基于DSP的快速傅里叶变换,用CCS实现。FFT快速傅里叶变换。(FFT Fast Foourier Transform。)
- 2014-05-10 16:09:37下载
- 积分:1
-
Finite difference
建立差分格式,输入边缘数值通过有限差分法计算网格中点的值(电磁场与电磁波中内容)(A difference scheme is set up, and the input edge value is calculated by the finite difference method (the content of electromagnetic field and electromagnetic wave) in the mesh.)
- 2017-12-29 20:50:07下载
- 积分:1
-
CSharpmapx
C#结合mapx简明编程例子。
实现加载地图,创建地图工具等功能。(C# Programming with mapx simple example.)
- 2011-05-06 15:47:41下载
- 积分:1
-
Scheduling_NewMethod_1
针对M2M海量业务在LTE-A调度中的新算法改进,用Matlab测试其丢包率、时延以及系统吞吐量(A new algorithm for M2M massive business in LTE-A scheduling improvements, using Matlab to test its loss rate, delay, and system throughput)
- 2014-05-05 12:15:57下载
- 积分:1
-
E1101
使用MFC DAO访问数据库,并实现了收支数据的条形图绘制。(Use MFC DAO database access, and to achieve a balance of payments data to draw a bar chart.)
- 2014-06-25 11:12:11下载
- 积分:1
-
016
Visual C++MFC编程实例016(C++MFC016)
- 2010-08-27 18:04:34下载
- 积分:1
-
TestBrowse
非常重要的界面编程,很不容易编写出来的代码,可实现美化界面的作用,VC学习的好代码(aa)
- 2010-07-15 20:33:15下载
- 积分:1
-
fangjinshandubaojiem
防金山毒霸界面源码,希望对大家有所帮助~(Anti-Duba interface source, we want to help ~)
- 2010-06-04 17:51:43下载
- 积分:1