文件名称:huffman
介绍说明--下载内容均来自于网络,请自行研究使用
从文件中读入字符集大小n,以及n个字符和n个权值。构建哈夫曼树,对每个字符生成哈夫曼编码。从文件中读入需编码的字符串,利用哈夫曼编码,对字符串进行编码,编码结果保存在文件。-The character read from the file set size n, and n-n character and the right values. Construction of Huffman tree generated Huffman code for each character. Read from a file to be encoded string, using Huffman coding to encode the string, coding results are saved in the file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件实现@.cpp