-
HuffmanTree
该系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。
(4) P:打印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。
(5) T:打印哈夫曼树(Tree printing)。将已在 中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件TreePrint中。
(The system should have the following features: (1) I: initialization (Initialization). Read from the terminal character set size n, and n and n characters right value, establishes a Huffman tree, and save it in the file hfmTree in. (2) E: encoding (Encoding). Has been built using the Huffman tree (if not in memory, reads from the file hfmTree), the text of the document ToBeTran encoded, and then putting the result in the CodeFile file. (3) D: decoding (Decoding). Huffman tree has been built using the file CodeFile the code will be decoded, the result is stored in the file TextFile. (4) P: Printing code files (Print). CodeFile in a compact format the document displayed on the terminal, one per line 50 code. While this character in the form of written documents CodePrin encoded file in. (5) T: Print Huffman tree (Tree printing). Would have been in the Huffman tree in an intuitive way (tree or recessed table form) displayed on the terminal, but this form of characters written to the file )
- 2013-06-21 13:45:16下载
- 积分:1
-
LStack
堆栈实现C++,以VC++环境为准——逍遥大洋至上(The stack of the C++, VC++ environment will prevail)
- 2012-03-26 08:35:26下载
- 积分:1
-
Ellipse-detection
能够检测椭圆,并且在已知摄像机安装高度和倾角的情况下实现单目测距,代码能够运行(Ellipse can be detected, and the camera installation height and in the case of the known inclination to achieve monocular ranging code to run)
- 2016-04-05 10:03:57下载
- 积分:1
-
90139945
由于传统的 COM 技术使用静态的非托管编程,net使用动态的托管编程(Because of the traditional COM technology using static unmanaged programming,.net using dynamic managed programming)
- 2017-04-24 13:49:33下载
- 积分:1
-
Prodave
VC++上位机通过prodave与S7-300通讯进行数据监控(VC++ host computer for data monitoring via S7-300 communication with prodave)
- 2015-10-14 11:55:42下载
- 积分:1
-
beijing-Bus--change-system
用c++写的北京市公交查询系统,对想要设计查询系统的大作业很有帮助(The Beijing Bus with c++ write query system)
- 2012-09-11 12:32:36下载
- 积分:1
-
main
程序为地震勘探资料处理方法中的数值模型模拟正演,方法为射线追踪(The program forward numerical model for seismic exploration data processing method in the simulation, for ray tracing method)
- 2014-06-26 22:43:45下载
- 积分:1
-
vc
说明: 开发基于VC的界面,应用于串口通信,十分的方便快捷。(Development based on VC interface
)
- 2011-03-19 22:37:35下载
- 积分:1
-
snacpp
windows环境下的开源ASN.1编译器,ASN.1描述编译为C++类型,提高开发人员的效率(open source ASN.1 Complier(C++))
- 2021-01-14 13:18:46下载
- 积分:1
-
dataprocesswithvcandmatlab
如何在vc环境下利用matlab工具箱进行数据处理(how to do data processing in vc++ with the toolbox of matlab)
- 2009-11-22 15:57:22下载
- 积分:1