登录
首页 » Visual C++ » cpp

cpp

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

  • ListBox1
    一个打包工具,从电脑的任意盘选择一些file,将内容写入一个自定义的file中并存入自定义的地方(A packaged tool, select some file any disk from the computer to write the contents of a custom file and stored in a custom place)
    2012-10-11 11:04:58下载
    积分:1
  • apzlicamitn
    说明:  猫吃老鼠问题的算法程序的VC完整应用程序代码,(Cat eating Mouse problem algorithm program VC complete application code,)
    2018-12-31 13:55:57下载
    积分:1
  • readText
    读取文本文档,并显示在控件中,要长要长要长要长要长(Read the text document, and displays in the control, longer longer longer longer longer)
    2011-04-21 10:47:00下载
    积分:1
  • OfficePlugins_Klose_Rinz
    windowsOffice中诸多实用性插件,包括MATHTYPE等。(windowsOffice many of the practicality of plug-ins, including MATHTYPE.)
    2012-05-01 23:32:59下载
    积分:1
  • AttehsFinalProject
    Encryption and Decryption of files are streamlined to RSA, KS1 and KS2 formats
    2009-12-23 02:36:18下载
    积分: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
  • FileOperate
    win32下,搜索某个目录,及所有子目录下的文件,或删除某个目录及所有子目录下的文件,包括目录(under win32, search a directory and all subdirectories under the documents, or delete a directory and all subdirectories under the documents, including directory)
    2007-09-14 15:25:30下载
    积分:1
  • TextLog-0.0.2
    说明:  方便的进行日志文件输出的类,可以添加在任何C++工程里面(convenient for the log file output types, can be added in any engineering inside)
    2006-03-31 18:30:34下载
    积分:1
  • Rename
    该程序用于批量修改文件名,是一个基于对话框的MFC小程序,利用CListCtrl控件来显示读取的文件名与浏览改动后的文件名(The procedure used to bulk modify the file name, is an MFC dialog-based applet, using CListCtrl control to display the file name to read and navigate change the file name)
    2009-02-03 15:35:18下载
    积分:1
  • 5294996
    制作的一个酷似于XP按钮的程序源代码,一个很好用的东东,()
    2017-11-03 14:45:30下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载