实验5
所属分类:Windows编程
开发工具:C++
文件大小:76KB
下载次数:76
上传日期:2006-01-04 03:16:37
上 传 者:
1010330
说明: 哈夫曼编码/译码
背景介绍:
利用哈夫曼编码进行通信可以大大提高信道利用率,缩短信息传输时间,降低传输成本。但是,这要求这发送端通过一个编码系统对待传数据预先编码,在发送端将传来的数据进行译码(复原)。对于双工信道。每端都需要一个完整的编译码系统。本程序将为这样的信息收发站写一个哈夫曼的编译码系统。
哈夫曼编码/译码:
程序运行步骤:
1、建立哈夫曼树,从键盘输入字符集大小,字符以及频度。
2、对字符进行编码,输出编码结果,分单个句子和整个句子输出,编码导入和导出CodeFile。
3、对哈夫曼码进行翻译。
运行环境: windows XP
语言环境: 简体中文
软件大小: 144 KB
编写工具: Microsoft Visual C++ 6.0
操作环境: MFC
(Huffman encoding/decoding background information : Huffman coding used in communication can greatly improve the channel utilization, reduced transmission time, and lower transmission costs. However, this requires that the sender through a coding system for pre-treatment data-coding, the transmitter will be sent for decoding data (recovery). For dual-channel. Each side needs a complete encryption system. This procedure will this information hubs Huffman was one of the encryption system. Huffman encoding/decoding : running steps : one, to establish Huffman tree from the keyboard input character set size, character and frequency. Two of character coding, the output code, a single-sentence and the entire sentence output, Import and export coding CodeFile. Three of the Huffman codes for tra)
文件列表:
实验5\Htree.h (1501, 2005-12-22)
实验5\HuffmanTree.aps (31036, 2005-12-30)
实验5\Htree.cpp (6330, 2005-12-22)
实验5\HuffmanTree.rc (13876, 2005-12-22)
实验5\HuffmanTree.clw (3759, 2005-12-30)
实验5\HuffmanTree.cpp (4299, 2005-12-17)
实验5\HuffmanTree.dsp (5045, 2005-12-22)
实验5\HuffmanTree.dsw (547, 2005-12-17)
实验5\HuffmanTree.h (1411, 2005-12-17)
实验5\HuffmanTree.ncb (328704, 2005-12-30)
实验5\HuffmanTree.plg (1286, 2005-12-22)
实验5\HuffmanTreeDoc.cpp (1842, 2005-12-17)
实验5\HuffmanTreeDoc.h (1530, 2005-12-17)
实验5\HuffmanTreeView.h (2151, 2005-12-22)
实验5\initother.cpp (1965, 2005-12-22)
实验5\initother.h (1235, 2005-12-18)
实验5\initree.cpp (1417, 2005-12-22)
实验5\MainFrm.cpp (2800, 2005-12-22)
实验5\MainFrm.h (1581, 2005-12-17)
实验5\resource.h (1388, 2005-12-20)
实验5\StdAfx.cpp (213, 2005-12-17)
实验5\StdAfx.h (1054, 2005-12-17)
实验5\translateDLG.cpp (1624, 2005-12-20)
实验5\translateDLG.h (1201, 2005-12-20)
实验5\hfmTree.txt (14, 2005-12-22)
实验5\CodeFile.txt (7, 2005-12-22)
实验5\HuffmanTreeView.cpp (7814, 2005-12-22)
实验5\res\HuffmanTree.ico (1078, 2005-12-17)
实验5\res\HuffmanTree.rc2 (403, 2005-12-17)
实验5\res\HuffmanTreeDoc.ico (1078, 2005-12-17)
实验5\res\Toolbar.bmp (1078, 2005-12-17)
实验5\res (0, 2005-12-23)
实验5\HuffmanTree.opt (59904, 2005-12-30)
实验5 (0, 2005-12-23)
近期下载者:
相关文件:
收藏者: