登录
首页 » Visual C++ » cpp

cpp

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

  • VC-read-and-write-from-excel
    该文件实现了C语言对EXCELL的读取和写入操作,希望对大家有帮助。(The file C language on EXCELL read and write operations, we hope to.)
    2012-07-15 22:43:29下载
    积分:1
  • FilesRecover
    以前写的文件删除恢复软件代码发出来,希望能对大家有帮助,源码比较乱,也没时间整理,源码sdk写的,vc6.0编译通过,win7、xp测试通过。支持fat32和ntfs文件系统的文件删除恢复 (Write files deleted recovery software code issued to hope that it can help, chaotic source, there is no time to sort out, source sdk write, vc6.0 compiled through win7, xp test by. Support fat32 and ntfs file system file deletion recovery)
    2012-10-28 16:11:24下载
    积分:1
  • 永乐软
    说明:  文档一体化系统是从档案管理的实际情况出发而研发的,总体上力求简明、实用和功能完备;操作风格上,尽可能地向大家所熟悉的微软产品靠近。它具有文档一体化功能,乡镇、机关档案室可以从收发文登记开始管理,以归档类目为桥梁,通过归档操作,最终完成归档工作。此系统启运方便快捷。(Document integration system is developed from the actual situation of archives management, and strives to be concise, practical and functional in general. In terms of operation style, it is as close as possible to Microsoft products that you are familiar with. It has the function of document integration. Township and government archives office can start management from the registration of receiving and receiving documents, take the archiving category as a bridge, and finally complete the archiving work through the archiving operation. This system is easy to operate.)
    2020-06-23 23:40:01下载
    积分:1
  • FileIO2
    读取文本中内容并进行简单转换之后,写入新的文本。(read the contents of a text and transfer some string, then write the new contents into a new text.)
    2010-09-19 15:24:18下载
    积分:1
  • playwaveshow
    用vb做的一个能显示wave文件的波形,适合于初学者(Done with vb a wave file can display the waveform, suitable for beginners)
    2010-08-27 15:42:45下载
    积分:1
  • OperateFile
    VC++拷贝、删除和移动文件的演示,呵,虽然很简单,但是很基础 ,每一个VC的编程高手都是从这里学起的,不要小看它简单,当初本人也研究了两天呢(VC++ copy, delete and move files in the demo, oh, although very simple, but very basic, every VC is a master of programming by learning from here, do not underestimate it simple, I had also studied it for two days)
    2011-04-25 21:33:42下载
    积分:1
  • 9577330
    在VB中实现访问WINDOWS INI 文件的源代码,不错()
    2017-11-03 18:20:18下载
    积分:1
  • 0022471
    Capture records of keyboard operations
    2018-08-20 13:33:44下载
    积分:1
  • word
    VC word模板混合编程,在VC中操作word模板,能插入文字和图片(VC word template mixed programming, operation in VC word template, can insert text and pictures)
    2020-06-29 12:20:02下载
    积分:1
  • VC++实现excel表格的读写
    VC++实现excel表格的读写,程序开发中可以直接拿来用,排版非常清晰(VC++ Realize excel forms of reading and writing, program development can be directly used to use, layout is very clear)
    2020-06-26 02:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载