文件名称:5901f92db5a9
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 226kb
- 下载次数:
- 0次
- 提 供 者:
- m*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个完整的系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立赫夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的赫夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的赫夫曼树将文件CodeFile中的代码进行译码,结果存入文件Textfile中。
-A complete system should have the following features: (1) I: Initialization (Initialization). Read from the terminal character set size n, and n-n-weight character and to establish Huffman tree, and store it in the file hfmTree. (2) E: encoding (Encoding). Has been built using the Huffman tree (if it be not memory, read from the file hfmTree in), the body of the document ToBeTran the encoded file and then store the result in the CodeFile. (3) D: decode (Decoding). Huffman tree has been built using the code in the file CodeFile decoded, the result is stored in the file Textfile.
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立赫夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的赫夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的赫夫曼树将文件CodeFile中的代码进行译码,结果存入文件Textfile中。
-A complete system should have the following features: (1) I: Initialization (Initialization). Read from the terminal character set size n, and n-n-weight character and to establish Huffman tree, and store it in the file hfmTree. (2) E: encoding (Encoding). Has been built using the Huffman tree (if it be not memory, read from the file hfmTree in), the body of the document ToBeTran the encoded file and then store the result in the CodeFile. (3) D: decode (Decoding). Huffman tree has been built using the code in the file CodeFile decoded, the result is stored in the file Textfile.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
哈夫曼树和哈夫曼编码\Debug\vc60.idb
....................\.....\vc60.pdb
....................\.....\哈夫曼树和哈夫曼编码.exe
....................\.....\哈夫曼树和哈夫曼编码.ilk
....................\.....\哈夫曼树和哈夫曼编码.obj
....................\.....\哈夫曼树和哈夫曼编码.pch
....................\.....\哈夫曼树和哈夫曼编码.pdb
....................\HafuMan.h
....................\哈夫曼树和哈夫曼编码.cpp
....................\哈夫曼树和哈夫曼编码.dsp
....................\哈夫曼树和哈夫曼编码.dsw
....................\哈夫曼树和哈夫曼编码.ncb
....................\哈夫曼树和哈夫曼编码.opt
....................\哈夫曼树和哈夫曼编码.plg
....................\Debug
哈夫曼树和哈夫曼编码
....................\.....\vc60.pdb
....................\.....\哈夫曼树和哈夫曼编码.exe
....................\.....\哈夫曼树和哈夫曼编码.ilk
....................\.....\哈夫曼树和哈夫曼编码.obj
....................\.....\哈夫曼树和哈夫曼编码.pch
....................\.....\哈夫曼树和哈夫曼编码.pdb
....................\HafuMan.h
....................\哈夫曼树和哈夫曼编码.cpp
....................\哈夫曼树和哈夫曼编码.dsp
....................\哈夫曼树和哈夫曼编码.dsw
....................\哈夫曼树和哈夫曼编码.ncb
....................\哈夫曼树和哈夫曼编码.opt
....................\哈夫曼树和哈夫曼编码.plg
....................\Debug
哈夫曼树和哈夫曼编码