登录
首页 » Visual C++ » cpp

cpp

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

  • DirDog
    监控文件夹变化的库,该功能封装在一个dll库中,方便调用。(monitor the change of the directory)
    2012-02-21 08:53:09下载
    积分:1
  • tinyxml
    说明:  timyXML是一个简单的xml解析工具,当然,你的xml必需是标准的。 TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved. XML stands for "eXtensible Markup Language." It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a "to do" list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.(timyXML is a simple xml analytical tools, of course, you must be the xml standard. TinyXML is a simple, small, C++ XML parser that can be easily integrated into other programs.In brief, TinyXML parses an XML document, and builds from that a Document Object Model (DOM) that can be read, modified, and saved.XML stands for eXtensible Markup Language. It allows you to create your own document markups. Where HTML does a very good job of marking documents for browsers, XML allows you to define any kind of document markup, for example a document that describes a to do list for an organizer application. XML is a very structured and convenient format. All those random file formats created to store application data can all be replaced with XML. One parser for everything.)
    2008-09-11 09:26:03下载
    积分:1
  • diary
    可运行的日记文件,可以记录内容并按时间分类,根据你的输入打开,删改日记文件等(a diary which can be executed so that you can record your diary and date.It can be )
    2013-07-29 02:41:42下载
    积分:1
  • OfficePlugins_Klose_Rinz
    windowsOffice中诸多实用性插件,包括MATHTYPE等。(windowsOffice many of the practicality of plug-ins, including MATHTYPE.)
    2012-05-01 23:32:59下载
    积分:1
  • data
    一个很有用的软件,用于耐久性的评定,这是其中的样本文件。(A very useful software for the assessment of durability, which is one of the sample documents.)
    2010-01-09 11:53:10下载
    积分:1
  • NaN
    对于转换为文本数据的文件,去除数据文件中的非正常值(The data is converted to text files, removing a non-normal data file)
    2010-07-02 10:40:52下载
    积分:1
  • apzlicamitn
    猫吃老鼠问题的算法程序的VC完整应用程序代码,(Cat eating Mouse problem algorithm program VC complete application code,)
    2018-12-31 13:55:57下载
    积分:1
  • shi
    这个类似文件搜索的非WINDOWS编程.如果对于你们有帮助也是好事(The non-WINDOWS similar documents search program if help is good for you)
    2011-07-23 12:58:41下载
    积分:1
  • newsfile
    用于文件的搜索,主要是文件目录下搜索文件名(for file searching,the main of function is that searching the name of files)
    2009-06-11 19:25:17下载
    积分:1
  • testXml
    实现对xml文件的操作 简单的对tinyxml进行解释(Xml files to achieve simple explanation of tinyxml)
    2009-04-28 23:54:23下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载