登录
首页 » Visual C++ » cpp

cpp

于 2013-12-01 发布 文件大小:5213KB
0 238
下载积分: 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 个回复

  • ChangeTime
    批量修改文件创建时间、修改时间等的程序,用于刷新文件内容(bat change file time )
    2014-04-22 22:19:54下载
    积分:1
  • apdlaa
    ANSYS的APDL参数化建模,介绍了ANSYS中用APDL建模的基本思想,提出格式表准化建议(ANSYS APDL parameters of the modeling, using ANSYS APDL model introduced the basic idea, put forward proposals standardized format table)
    2011-01-29 17:23:19下载
    积分:1
  • aeasysystemforjournal
    一个简单又高效的日志系统 本文给出一个性能高,使用简单的日志解决方案。本模块实现日志信息的批量写入文件,定时自动flush到文件中,写入文件的日志级别可动态调整,单个日志文件大小可配置,循环对日志文件写入,这样不会造成机器空间被日志文件耗尽。(A simple and effective logging system In this paper, a high-performance, using a simple log solution. The module to achieve volume of information to write the log files, from time to time automatically flush to a file, write to the file log level can be dynamically adjusted, a single log file size can be configured, cycling on the log file is written, this will not cause the machine space is the log File exhausted.)
    2009-09-17 21:14:06下载
    积分:1
  • ADO_Excel_CWR
    通过ADo显示Excel内容 并对Excel中数据进行添加、删除、修改等操作(Excel content through ADo display data in Excel and add, delete, modify and other operations)
    2010-05-31 17:03:19下载
    积分:1
  • convert-pdf
    这个源代码实现了对pdf文件的读取,可以通过此程序将pdf转化为文本模式。(The source code to achieve the PDF file to read, through this procedure will be converted to text mode pdf.)
    2012-11-08 17:10:47下载
    积分:1
  • winpe
    类似Borland公司的Tdump的程序。分析DLL/EXE文件信息(The app of analysising the infomation of DLL or EXE , which is like the TDump of Borland)
    2020-11-05 10:09:54下载
    积分:1
  • excel
    说明:  vc++ 6.0 读写excel文件例程,非常好(read an write excel file use vc++ 6.0)
    2011-04-09 17:20:30下载
    积分:1
  • HuffamnCoding
    用VC++实现的一个简单哈夫曼压缩码和解码程序,可以对任意字符的文本文件进行压缩并解压(With VC++ Realize a simple Huffman compression code and decoding procedures, arbitrary characters can compress a text file and extracting)
    2008-04-17 21:21:29下载
    积分:1
  • BinaryObjectSerialization
    serilizatiob of binary objects into xml file and de-serialization that
    2009-11-24 06:13:03下载
    积分:1
  • SelDEL
    实现在程序运行完毕后,删除自身exe文件.适用于需要时间限制类程序.(Time limit for applications that require such procedures in the program is complete, delete the exe file.)
    2013-05-19 10:22:03下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载