登录
首页 » Visual C++ » cpp

cpp

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

  • ChangeTime
    批量修改文件创建时间、修改时间等的程序,用于刷新文件内容(bat change file time )
    2014-04-22 22:19:54下载
    积分:1
  • RdWrtIni
    wince 里面没有WRITEPROFILESTRING等直接读写INI文件的命令,多有不便.因此这份源码实现了WINCE下读写INI的功能.附有源代码及测试程序.经实际使用,效果不错.(wince There are no direct WRITEPROFILESTRING order to read and write INI files, and more has the inconvenience. Therefore the source realize the read and write INI under WINCE function. with the source code and testing procedures. by actual use, good results.)
    2008-08-05 14:36:18下载
    积分:1
  • DebugScissor
    我想很多程序员都遇到这种情况:新建了很多工程,编译后生成了很多的Debug、Release,想删除的时候一个个文件夹打开,删除,太累啦~~~!!不删又占空间!!我也“深受其害”,今天实在无法忍受了,写个程序,自动删,呵呵。 使用时把它放在你想清理的文件夹里面,运行后它会自动搜索子文件夹,直到完成,使用时请小心,它看见Debug、release就删,呵呵,所以如果不想删除,就不要用这个名字啊!! 主要用了一些文件操作和文件夹操作(I think many programmers have experienced this situation: a lot of new projects has become a much later compiler Debug, Release, would like to delete a folder when opened, deleted, tired啦~ ~ ~! ! Do not cut and space! ! I also " suffer" , this really could not bear, and write a program to automatically delete, huh, huh. Put it in when you want to clean up inside the folder, it will automatically run the search sub-folders until completed, when used with care, it is to see Debug, release on the cut, huh, huh, so if you do not want to delete, do not use name ah! !)
    2009-05-08 20:40:06下载
    积分:1
  • cExcel
    微软的Excel对象模型包括了128个不同的对象,从矩形,文本框等简单的对象到透视表,图表等复杂的对象.下面我们简单介绍一下其中最重要(VC Read Excel)
    2016-05-21 09:42:15下载
    积分:1
  • ExcelToTxt
    一个读取EXCEL数据,并且充足数据,重新写入TXT文档的程序,设计到Excel操作以及读写文件操作(EXCEL a read data, and sufficient data, re-write the program TXT documents and design to operations and to read and write Excel file operations)
    2010-11-08 01:30:44下载
    积分:1
  • 57569947
    一个很不错的界面和特效编程例子!火焰,水波,熔岩三类特效,值得学习!()
    2018-02-22 12:37:13下载
    积分:1
  • sjfiol
    With VB series winsock server side()
    2017-11-02 20:23:48下载
    积分:1
  • CPPExcel
    VC2003下编译运行正确,ODBC操作EXCEL表格,拷贝即可使用。(VC2003 compile and run correctly, ODBC operation EXCEL form, copy can be used.)
    2016-10-31 16:27:16下载
    积分:1
  • 02
    说明:  主題:如何检测文件是否已经发生更改? 請使用Visual C++, compile後直接執行即可。 (Subject: how to detect whether changes have occurred? Please use the Visual C++, Compile directly to the Executive.)
    2008-11-13 11:54:55下载
    积分:1
  • MSCOMM32
    第一:将文件拷到c:windowssystem32第二:运行install,这样就注册好了(This file contains important installation and general information for Version 8.0.2 of the CEintegrated product set.)
    2013-09-22 19:37:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载