登录
首页 » Visual C++ » cpp

cpp

于 2013-12-01 发布 文件大小:5213KB
0 192
下载积分: 1 下载次数: 6

代码说明:

  首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据ASCII编码来将字符转换为二进制,然后实现前缀编码,然后把编码后的使用二进制流写入相应文件(First through file operations, read the file content, the characters one by one after extracting character frequency statistics, establish a Huffman tree and Huffman encoding, and, of course, this is according to ASCII code to convert characters to the binary, then realize the prefix encoding, and then the encoded using binary stream into the corresponding files )

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

发表评论

0 个回复

  • readText
    读取文本文档,并显示在控件中,要长要长要长要长要长(Read the text document, and displays in the control, longer longer longer longer longer)
    2011-04-21 10:47:00下载
    积分:1
  • FileAttribute
    vc——获取文件的属性FileAttribute(vc- get file attributes FileAttribute)
    2011-07-30 18:54:15下载
    积分:1
  • MyLib
    针对Windows下的文件夹,可以创建、删除、复复制、查找、枚举等操作(For Windows folder, you can opetate it as create, delete, multiple copy, find, enumeration and so on)
    2013-02-24 13:47:00下载
    积分:1
  • WinMerge-2.4.10-src
    WinMerge可以显示两个文件的不同之处,并提供文件或文件夹合并功能。(WinMerge can show two different documents, and providing documents or folders merge function.)
    2006-10-16 11:50:31下载
    积分:1
  • playwaveshow
    用vb做的一个能显示wave文件的波形,适合于初学者(Done with vb a wave file can display the waveform, suitable for beginners)
    2010-08-27 15:42:45下载
    积分:1
  • sale
    文件输入物品税前价格,通过相应物品的税率计算出物品的售价并显示。(File input goods before prices, tax rates by the corresponding articles of the items priced and displayed.)
    2013-11-08 18:47:23下载
    积分:1
  • note-book
    实现简单的记事本功能。如:打开文件,添加删除内容,字数统计与查找等功能。(Simple notepad. : Open the file, add and remove content, features such as word count and Find.)
    2012-10-29 17:03:37下载
    积分:1
  • Text2Tiff
    说明:  一个能把文本文件(text)文件转换成传真格式文件(tiff文件)的源代码。(convert text file to tiff file.)
    2010-04-01 10:44:06下载
    积分:1
  • FileTool
    解决vc++6.0与visio不兼容的问题,如安装Visio之后,vc++6.0“打开”出错,不能添加文件等。(Vc++6.0 with visio solution is not compatible issues, such as after installing Visio, vc++6.0 " open" error, can not add files.)
    2011-05-31 09:17:48下载
    积分:1
  • read-and-write-CSV-file
    可以实现CSV的写入文件读取。同样如果将程序稍作改动就可实现各种格式的文件的写入和读取。文件是以逗号和回车为间隔的写入的。这样可以用excel软件打开该文件。同时,在读取时,将存取的数字在逗号和回车的交替中提取出来。(You can write the CSV file to read. The same if the program make a little change can be achieved in various formats file write and read. The file is comma and carriage return intervals write. This can open the file with excel software. The same time, in reading, access to digital in the alternation of comma and carriage return is extracted. )
    2012-02-13 10:39:35下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载