登录
首页 » Visual C++ » cpp

cpp

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

  • vbscripd
    在VB中,使用vbscript,jscript等脚本语言,你可以在你的程序中,(In VB, using vbscript, jscript scripting language, such as you can in your program,)
    2017-06-17 10:46:09下载
    积分:1
  • FileCompare
    读取两个文件,比较其中的相同单词和出现次数及频率,并将结果保存到文件(Read the two documents, which compare the same words and the number and frequency of appearance, and save the results to a file)
    2013-07-12 21:51:36下载
    积分:1
  • FileCompare
    读取两个文件,比较其中的相同单词和出现次数及频率,并将结果保存到文件(Read the two documents, which compare the same words and the number and frequency of appearance, and save the results to a file)
    2013-07-12 21:51:36下载
    积分:1
  • 读写EXECL表内容
    一个有借鉴意义的EXCEL格式读写操作的实例。(A reference to the EXCEL format reading and writing operations examples.)
    2017-08-17 23:05:17下载
    积分:1
  • FileFindThread
    本程序是关于文件操作的源码,实现了用多线程技术递归查找文件的方法来遍历每一个文件和文件夹(The program is operating on the source file to achieve with multi-threading approach to find files recursively through every file and folder)
    2011-06-07 15:21:26下载
    积分:1
  • zhuomiankongzhi
    说明:  很简单的桌面控制程序,适合初学者学习使用(Very simple desktop control program for beginners learning to use)
    2010-04-05 22:04:37下载
    积分:1
  • 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
  • ResourceHack
    对于文件外壳消除处理,对于生成的exe不可编译软件处理,能得到源码(VC size for BMP images)
    2010-06-09 10:13:36下载
    积分:1
  • 内存映射演示
    演示内存映射文件的使用,对内存映射文件作了详细说明(demo memory map documents the use of memory mapping document elaborated)
    2005-06-01 09:24:40下载
    积分:1
  • matio-1.5.2
    读取.mat数据文件的库,很好用,很简单。(matio is an C library for reading and writing Matlab MAT files. It is usefull , and very easy to use.)
    2013-12-23 16:05:37下载
    积分:1
  • 696524资源总数
  • 103920会员总数
  • 65今日下载