-
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
-
sz
说明: 5、 打印如下方阵(任选一题)。
(1) 螺旋方阵:
1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7(it is a C++ file)
- 2011-04-15 21:32:44下载
- 积分:1
-
seven report
VC++2005编程实例源代码\第7章 水晶报表开发编程实例,包括水晶报表的各种操作共25个源码实例(VC++ 2005 programming examples of Chapter 7 of the source code to develop programming examples of Crystal Reports, Crystal Reports, including a variety of operating a total of 25 source code examples)
- 2008-12-22 13:57:01下载
- 积分:1
-
Print
该程序用MFC实现打印机的功能,对初学并口编程的学习者具有很好的指导意义(The program with MFC realize the function of the printer on parallel port programming novice learners with a good guide)
- 2008-02-25 14:41:50下载
- 积分:1
-
ReportSample
VC很经典的报表控件,功能非常强大,很赞。(VC very classic report control, the function is very powerful, very praise.)
- 2018-08-31 13:44:40下载
- 积分:1
-
1232109-1
一个打印出你好世界的c文件,非常简单!仅供参考! (a file describes hello world )
- 2013-04-06 11:09:30下载
- 积分:1
-
sonovoPrintersTool
WIN32 API 实现打印功能 openframeworks(
WIN32 API enables the printing function openframeworks)
- 2015-02-02 20:59:39下载
- 积分:1
-
PrintSample11
模拟随机肥皂泡泡的生成,并可在一个窗口上打印小泡泡。(Simulation of random formation of soap bubbles, and in a small bubble window to print.)
- 2007-10-18 13:57:19下载
- 积分:1
-
lineprint
模拟字符方式(非GUI方式)打印 (Simulating character printing)
- 2001-01-06 17:00:20下载
- 积分:1
-
udc
图片打印控件的例子,可以利用打印机实现图片的打印(Examples of picture print controls, you can realize the use of the printer to print pictures)
- 2008-04-06 11:14:20下载
- 积分:1