登录
首页 » Visual C++ » cpp

cpp

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

  • read-and-write
    用c++语言编程,读取txt文件,并写成.e文件,(Using c++ language programming, reading txt file, and written as. E documents,)
    2013-06-10 20:13:26下载
    积分: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
  • ReadExcel
    对excel的文件处理。打开直接能用,挺简单的。(Excel file for processing. I can open a direct, very simple.)
    2014-03-05 23:44:20下载
    积分: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
  • dabao
    说明:  将不同文件类型文件打包为一个文件,并更改文件类型,供打包标记(Documents of different file types into a package file, and change the file type for packaging marking)
    2010-04-18 21:02:09下载
    积分:1
  • ProgramFileVersion
    获取应用程序版本信息,并写到指字的文件里......(Get application version information, and writes the word refers to the file ......)
    2014-06-25 13:54:51下载
    积分:1
  • lastools
    点云处理工具,可以实现点云的各种处理,文件格式转换等等(Point cloud processing tools, can achieve a variety of point cloud processing, file format conversion, etc.)
    2021-01-25 17:28:38下载
    积分:1
  • rtf2html
    rft文件转换为html,visual basic源码(rtf to html)
    2011-12-12 11:21:10下载
    积分: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
  • pp
    说明:  实现堆栈的操作,功能为入栈、出栈,实现先进后出的原则(to realize the stack operation , the function :push onto the stack out the stack )
    2011-08-12 15:50:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载