搜索资源列表
-
0下载:
(1) I:初始化,从终端读入n个字符和n个权值,建立哈夫曼树,并将它存放在文件HuffmanTree中.
(2)E:编码.利用已建立好的哈夫曼树,对要传输的数据正文(存在文件ToBeTran.txt中)进行编码,将结果代码存(传输)到文件CodeFile中.
(3)D:译码.利用已建好的哈夫曼树,对传输到达的CodeFile中的数据代码进行译码,将译码结果存入文件TestFile中.
(4) P: 印文件.将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形
-
-
0下载:
本人修改的成熟的霍夫曼编码及译码,对一个文本文件,统计字符概率,建霍夫曼树,然后编码,最后译码,码文输出到另一份txt文档中,在vc中编译的,在vs2010中可能会有异常~-I modified Huffman coding and decoding of the mature, to a text file, statistics, probability character, Huffman tree construction, and coding, and finally decodin
-
-
0下载:
霍夫曼编码算法的C语言实现,包含完整的工程文件,编译通过。-Huffman coding algorithm in C language, contains a complete project file and compile.
-
-
0下载:
用霍夫曼编码实现文件的压缩和解压缩,任何文件都能压缩-Compression, Huffman coding to achieve file compression and decompression of any file can be compressed
-