登录
首页 » Visual C++ » cpp

cpp

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

  • file_rw_binary
    文件操作 以二进制格式读写文件 数据保存打开类型 (File operations data read and write files in binary format to save the open type)
    2015-03-10 22:07:28下载
    积分:1
  • sale
    文件输入物品税前价格,通过相应物品的税率计算出物品的售价并显示。(File input goods before prices, tax rates by the corresponding articles of the items priced and displayed.)
    2013-11-08 18:47:23下载
    积分:1
  • VB_view_DWG
    说明:  使用VB查看DWG文件,经典产品 使用VB 查看AUTOCAD图形(View DWG files to use VB, VB classic products AUTOCAD graphics view)
    2009-07-30 22:54:25下载
    积分: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
  • Decimal_Binary
    软件技术基础中的十进制转二进制问题,简单的将十进制数转化为二进制数。 (Software technology base in decimal to binary problem, a simple decimal number into a binary number.)
    2013-12-18 17:07:56下载
    积分:1
  • word
    可以把word表格转为数据库需要的格式文件(Word forms can be converted into the format required by the database file)
    2013-08-06 10:29:13下载
    积分:1
  • vcTxtsrc
    VC++逐行读取Txt文本文件,只是一个读写方式的不同,总之最终的目标是读取整个文件(VC++ read line by line Txt text file, just a different way of reading and writing, in short, the ultimate goal is to read the entire document)
    2013-10-28 19:46:43下载
    积分:1
  • ReadCsvFile
    对CSV文件的读写操作,dll形式,很好用的!(The CSV file read and write operations, a form of DLL, very good use!)
    2012-11-08 19:11:01下载
    积分: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
  • 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
  • 696518资源总数
  • 106227会员总数
  • 11今日下载