-
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
-
28035_bldc_PID
用28035实现对无刷直流电机的PI控制(28035 realized with brushless DC motor control PI)
- 2020-11-19 11:19:37下载
- 积分:1
-
CMP4
处理文件器,可以办各种格式文件处理相互装换,有用!超级快速!(Processing document control, you can do a variety of formats for document processing equipment with each other, useful! Super fast!)
- 2011-05-09 10:20:02下载
- 积分:1
-
win32expertprogramming--houjie
腾讯公司内部培训资料,侯捷先生现身说法,讲解windows编程奥秘(Tencent internal training materials, Mr. Hou Jie theories to explain the mysteries of windows programming)
- 2011-11-10 22:25:12下载
- 积分:1
-
PagerDemo_prj
像C++Builder里的用于左右滚动系列控件的带箭头的控件(The control with arrow which likes the set of contorls in C++ Builder which can move left and right)
- 2020-12-04 16:39:24下载
- 积分:1
-
ITM_17_RS232
说明: Software for ITM-17 dvb-t/T2/c meashurement tuner with RS232
- 2018-12-29 15:50:04下载
- 积分:1
-
HANZILibrary
一个VB程序,功能为生成点阵字库,支持任意种字体,稍作修改就可以改变字体大小,默认生成点阵大小为16x16(A VB program, function to generate dot matrix font support any fonts, minor modifications can change the font size, the default generated lattice size 16x16)
- 2013-04-12 20:37:34下载
- 积分:1
-
snmp
使用VC实现SNMP管理程序,内容详细,对于初学者很有帮助,(VC achieved using SNMP management program, detailed, useful for beginners,)
- 2013-12-18 10:07:34下载
- 积分:1
-
mat4501vc
能与vc很好结合使用,极大减少编程人员的时间(easy to use with vc
)
- 2010-05-27 20:23:32下载
- 积分:1
-
Serial-port-control-PTZ-camera
串口控制云台摄像头的程序,已经测试过了,可以参考(Serial control PTZ camera program has been tested, you can refer)
- 2014-11-26 17:47:47下载
- 积分:1