文件名称:huffman
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.01mb
- 下载次数:
- 0次
- 提 供 者:
- 范**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
建立一个文本文件,统计该文件中各字符频率,对各字符进行Huffman编码,将该文件翻译成Huffman编码文件,再将Huffman编码文件翻译成原文件。
“压缩文件”即:读文件、统计文件中的字符个数、对文件进行哈夫曼编码和译码、并将编码译码后的字符存储在文件中。
根据以上任务说明,设计数据结构,并设计程序完成功能。
-Create a text file, statistical frequency of the characters in the file, the characters of the Huffman coding, Huffman coding the translation of documents into the file, and then Huffman coding documents translated into the original file.
"Archive" that is: read the file, the number of characters in the file statistics, the file Huffman encoding and decoding, encoding and decoding after the character is stored in the file.
Based on the above mission statement, design data structure, function and design process is complete.
“压缩文件”即:读文件、统计文件中的字符个数、对文件进行哈夫曼编码和译码、并将编码译码后的字符存储在文件中。
根据以上任务说明,设计数据结构,并设计程序完成功能。
-Create a text file, statistical frequency of the characters in the file, the characters of the Huffman coding, Huffman coding the translation of documents into the file, and then Huffman coding documents translated into the original file.
"Archive" that is: read the file, the number of characters in the file statistics, the file Huffman encoding and decoding, encoding and decoding after the character is stored in the file.
Based on the above mission statement, design data structure, function and design process is complete.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈夫曼编码
..........\Debug
..........\.....\NO2.obj
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\.....\哈夫曼编码.exe
..........\.....\哈夫曼编码.ilk
..........\.....\哈夫曼编码.pch
..........\.....\哈夫曼编码.pdb
..........\NO2.CPP
..........\哈夫曼编码.dsp
..........\哈夫曼编码.dsw
..........\哈夫曼编码.ncb
..........\哈夫曼编码.opt
..........\哈夫曼编码.plg
..........\Debug
..........\.....\NO2.obj
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\.....\哈夫曼编码.exe
..........\.....\哈夫曼编码.ilk
..........\.....\哈夫曼编码.pch
..........\.....\哈夫曼编码.pdb
..........\NO2.CPP
..........\哈夫曼编码.dsp
..........\哈夫曼编码.dsw
..........\哈夫曼编码.ncb
..........\哈夫曼编码.opt
..........\哈夫曼编码.plg