登录
首页 » Visual C++ » cpp

cpp

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

  • apzlicamitn
    猫吃老鼠问题的算法程序的VC完整应用程序代码,(Cat eating Mouse problem algorithm program VC complete application code,)
    2018-12-31 13:55:57下载
    积分:1
  • OperateFile
    拷贝、删除和移动文件OperateFile,很不错的vc源码,希望能对大家有所帮助(Copy, delete and move files OperateFile, very good vc source code, I hope you can help)
    2011-09-06 23:02:02下载
    积分:1
  • iniparse
    配置文件INI 解析,读取INI文件,修改INI文件,新增INI文件远吗,测试通过(Configuration file INI parsing, read the INI file, modify the INI file, add the INI file far, test)
    2021-04-13 11:38:56下载
    积分:1
  • freerename
    十分方便的批量处理文件名的软件,可直接运行,用起来十分方便(Very convenient batch software processing file names, can be directly run, with very convenient)
    2021-03-12 17:39:25下载
    积分: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
  • FileSplitter
    这是一个文件分割器,内部有详细的代码注解,非常不错(This is a file splitter, it has a detailed code comments, very good)
    2010-05-20 11:22:17下载
    积分:1
  • OfficePlugins_Klose_Rinz
    windowsOffice中诸多实用性插件,包括MATHTYPE等。(windowsOffice many of the practicality of plug-ins, including MATHTYPE.)
    2012-05-01 23:32:59下载
    积分:1
  • 9577330
    在VB中实现访问WINDOWS INI 文件的源代码,不错()
    2017-11-03 18:20:18下载
    积分:1
  • doc_view
    基于doc_view多文件示例(源码),可以改变文档的图片工具.好好玩玩啊(Doc_view based on multi-file examples (source), can change the document image tools. Good play ah)
    2007-08-23 12:41:08下载
    积分:1
  • preemqtion-vrite-line
    用VB实现的快速表格AquickformwithVB()
    2017-09-27 14:49:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载