登录
首页 » Visual C++ » cpp

cpp

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

  • apzlicamitn
    说明:  猫吃老鼠问题的算法程序的VC完整应用程序代码,(Cat eating Mouse problem algorithm program VC complete application code,)
    2018-12-31 13:55:57下载
    积分:1
  • sjfiol
    With VB series winsock server side()
    2017-11-02 20:23:48下载
    积分:1
  • FileCompare
    读取两个文件,比较其中的相同单词和出现次数及频率,并将结果保存到文件(Read the two documents, which compare the same words and the number and frequency of appearance, and save the results to a file)
    2013-07-12 21:51:36下载
    积分:1
  • ExcelFormat_src
    C++中对EXCEL的操作,包含绝大部分EXCEL的功能,如单元格格式操作等。(There has been the C++ project BasicExcel for quite some years now. It is very useful to read and write Excel sheets in .xls format. However, it contains only very basic functionality. There are missing features like text formatting using fonts, and display formats and formulas are not yet supported. This article covers this additional functionality. The new, derived project ExcelFormat is based on the old BasicExcel code, and just adds what I was missing for my own needs. If you want to see where I am using the new library, you can look at the Export functions of Service Manager and Uninstall Manager.)
    2020-07-09 17:48:55下载
    积分:1
  • seginnerspart
    本程序为VC++ 6,0的部分学习代码,有助于初学者学习,(This program for VC 6 0 part of the learning code, help beginners learn,)
    2018-12-31 10:09:51下载
    积分:1
  • cExcel
    微软的Excel对象模型包括了128个不同的对象,从矩形,文本框等简单的对象到透视表,图表等复杂的对象.下面我们简单介绍一下其中最重要(VC Read Excel)
    2016-05-21 09:42:15下载
    积分:1
  • StickyKey
    程序自动完成向“我的文档“下shiyan.docx发送字符c,程序运行前,shiyan.docx必须被word打开(Procedures automatically to the )
    2007-08-12 21:18:54下载
    积分:1
  • inidemo
    对配置文件的通用访问以及写入操作,本程序提供静态方法(Configuration file access)
    2013-08-06 14:51:38下载
    积分:1
  • txt-file-read
    通过MFC 实现对txt文件的按行读取操作(realize txt file read line by line through MFC)
    2013-03-13 20:02:54下载
    积分:1
  • actual_emissivity
    计算粗糙海面发射率,使用C++,输出发射率数据文件(Calculation rough sea surface emissivity, using C++, the output data file of emissivity)
    2016-06-02 12:02:29下载
    积分:1
  • 696524资源总数
  • 103920会员总数
  • 65今日下载