登录
首页 » Visual C++ » cpp

cpp

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

代码说明:

  首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据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 个回复

  • ResearchNewExcel
    操作EXCEL,设置表格格式,数据写入,读出等.EXCEL进程打开,退出等.(Operation EXCEL, format tables, data is written, read, etc.. EXCEL process to open and exit.)
    2011-10-24 09:06:17下载
    积分:1
  • ProgramFileVersion
    获取应用程序版本信息,并写到指字的文件里......(Get application version information, and writes the word refers to the file ......)
    2014-06-25 13:54:51下载
    积分:1
  • ztf02
    将屏幕不断保存为avi文件的程序,可以用于制作程序演示(screen constantly kept as avi document procedures can be used for the production process demonstration)
    2007-03-09 11:43:34下载
    积分:1
  • txt-file-read
    通过MFC 实现对txt文件的按行读取操作(realize txt file read line by line through MFC)
    2013-03-13 20:02:54下载
    积分:1
  • loadImage
    this file could load a bmp image and up down side and left right side it
    2011-10-25 16:01:10下载
    积分:1
  • ReadExcelandPrint
    一个有关EXCEL表打印的和读取的实现程序(an Excel table of the print and read the program to realize)
    2007-03-04 11:12:28下载
    积分:1
  • hjldwg
    一个快速读写DWG的文件源代码,DWG是矢量开发中经常碰到的文件格式,DWG文件格式比较烦琐,此库为程序员读写DWG文件节省很多精力(a fast read and write DWG document source code, Vector DWG development is frequently encountered in the paper format, DWG file format, and more than that, for this to read and write DWG programmers to save a lot of energy documents)
    2007-03-15 00:13:14下载
    积分:1
  • defreader
    读取行情的def文件的例子,并保存到数据库了,包含了两个行情数据库,上海和深圳的。(Quotes of the def file to read the example, and saved to the database, and contains two Quotes databases, Shanghai and Shenzhen.)
    2009-10-27 09:29:38下载
    积分:1
  • 24Bmp
    采用CFile打开并显示24位位图,可以对位图数据进行操作,程序简单实用。(CFile used to open and display 24 bitmap, right bitmap data operations, procedures simple and practical.)
    2007-03-25 10:17:30下载
    积分:1
  • TSCreate
    生成TS流,将十六进制/二进制文件打包成TS流文件(TS stream generated will be hex/binary files packaged into a TS stream file)
    2020-12-21 20:29:08下载
    积分:1
  • 696516资源总数
  • 106579会员总数
  • 0今日下载