登录
首页 » Visual C++ » HuffmanTree

HuffmanTree

于 2013-06-21 发布 文件大小:6371KB
0 154
下载积分: 1 下载次数: 9

代码说明:

  该系统应具有以下功能: (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 )

文件列表:

哈夫曼编译码
............\Debug
............\.....\哈夫曼编译码.exe,145920,2013-05-10
............\.....\哈夫曼编译码.ilk,756072,2013-05-10
............\.....\哈夫曼编译码.pdb,1010688,2013-05-10
............\ipch
............\....\哈夫曼编译码-ded3779c
............\....\.....................\哈夫曼编译码-65c63503.ipch,28049408,2013-05-10
............\哈夫曼编译码
............\............\CodeFile.txt,61,2013-05-10
............\............\CodePrin.txt,61,2013-05-10
............\............\Debug
............\............\.....\CL.read.1.tlog,13790,2013-05-10
............\............\.....\CL.write.1.tlog,258,2013-05-10
............\............\.....\link.read.1.tlog,2762,2013-05-10
............\............\.....\link.write.1.tlog,448,2013-05-10
............\............\.....\mt.read.1.tlog,1106,2013-05-10
............\............\.....\mt.write.1.tlog,210,2013-05-10
............\............\.....\program.obj,519974,2013-05-10
............\............\.....\vc100.idb,314368,2013-05-10
............\............\.....\vc100.pdb,348160,2013-05-10
............\............\.....\哈夫曼编译码.exe.intermediate.manifest,381,2013-05-10
............\............\.....\哈夫曼编译码.lastbuildstate,58,2013-05-10
............\............\.....\哈夫曼编译码.log,3084,2013-05-10
............\............\htm" target=_blank>hfmTree,217,2013-05-10
............\............\hfmTree.txt,217,2013-05-10
............\............\huffman.h,15501,2013-05-10
............\............\input.txt,400,2013-05-09
............\............\program.cpp,116,2013-05-10
............\............\TextFile.txt,70,2013-05-10
............\............\ToBeTran.txt,18,2013-05-10
............\............\TreePrint.txt,214,2013-05-10
............\............\哈夫曼编译码.vcxproj,3301,2013-05-09
............\............\哈夫曼编译码.vcxproj.filters,1065,2013-05-09
............\............\哈夫曼编译码.vcxproj.user,143,2013-05-09
............\哈夫曼编译码.sdf,9392128,2013-05-10
............\哈夫曼编译码.sln,921,2013-05-09
............\要求.docx,16889,2013-05-09

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vbquery
    说明:  数据库的查询,query制作,报表查询,以及最终的打印 (Database query, query production, reporting queries, and the final print)
    2011-04-03 13:08:10下载
    积分:1
  • zihao
    字号与尺寸对照表,便于进行自动打印预览时查询字体大小以方便安排打印和排版(Font size table, easy to query the font size to facilitate arrangements for printing and automatic print preview typesetting)
    2012-06-13 11:14:02下载
    积分:1
  • Printer
    一个用VB编写的用来打开打印的文件,可以选择所需的打印机,从而将文件输送到打印机上(The preparation of a use VB to open a print of the document, you can select the printer, which will be transmitted to the printer paper)
    2009-04-17 21:03:14下载
    积分:1
  • 1232109-1
    一个打印出你好世界的c文件,非常简单!仅供参考! (a file describes hello world )
    2013-04-06 11:09:30下载
    积分: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
  • oxline
    用于VB中datagridlistview打印功能,不错很好的()
    2017-09-27 16:13:41下载
    积分:1
  • EpsonPrintDemo
    用于搜索USB驱动,找到USB打印机,并发送命令 本例子发的是epson的打印换行命令,这个命令基本够用了,绝对有用(Used to search the USB drive, find a USB printer, and send the command)
    2020-09-01 19:38:08下载
    积分:1
  • Andciv-Q-A-13.927
    andciv 3d printer 控制板常见问题汇总(andciv 3D printer control board QA)
    2013-10-24 09:38:32下载
    积分:1
  • excel-batch-print
    实现excel的批量打印,而且可以自由选择,预览(Achieve excel batch print, and are free to choose, preview)
    2011-11-10 12:40:41下载
    积分:1
  • Step1_
    OPOS应用程序开发示例,哟关于测试字符修饰打印(OPOS application development example, modification of yo character on the test print)
    2011-10-27 13:50:08下载
    积分:1
  • 696524资源总数
  • 103833会员总数
  • 52今日下载