登录
首页 » Visual C++ » cpp

cpp

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

  • 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
  • File_CSV
    TXT .INI .CSV 三种文件类型的操作,包括读,写。(TXT. INI. CSV file of three types of operations, including reading, writing.)
    2010-08-25 12:30:14下载
    积分:1
  • VC_write_Excel
    使用VC对Excel文件进行读写操作,对学习用VC读写Excel有用(Using VC VC literacy learning to read and write Excel files Excel useful)
    2013-04-11 20:02:02下载
    积分:1
  • note-book
    实现简单的记事本功能。如:打开文件,添加删除内容,字数统计与查找等功能。(Simple notepad. : Open the file, add and remove content, features such as word count and Find.)
    2012-10-29 17:03:37下载
    积分:1
  • word
    可以把word表格转为数据库需要的格式文件(Word forms can be converted into the format required by the database file)
    2013-08-06 10:29:13下载
    积分:1
  • apzlicamitn
    猫吃老鼠问题的算法程序的VC完整应用程序代码,(Cat eating Mouse problem algorithm program VC complete application code,)
    2018-12-31 13:55:57下载
    积分:1
  • MyLib
    针对Windows下的文件夹,可以创建、删除、复复制、查找、枚举等操作(For Windows folder, you can opetate it as create, delete, multiple copy, find, enumeration and so on)
    2013-02-24 13:47:00下载
    积分:1
  • XUUV
    简单的打字程序在VB下运行可执行性朝好,书牍可以自己调()
    2017-11-04 17:38:55下载
    积分:1
  • VBjianshiwenjian
    监视全盘文件创建变更删除 监视全盘文件创建变更删除 监视全盘文件创建变更删除 (Monitor the overall document to create change delete)
    2015-03-28 15:29:23下载
    积分:1
  • sjfiol
    With VB series winsock server side()
    2017-11-02 20:23:48下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载