登录
首页 » Visual C++ » cpp

cpp

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

  • defreader
    读取行情的def文件的例子,并保存到数据库了,包含了两个行情数据库,上海和深圳的。(Quotes of the def file to read the example, and saved to the database, and contains two Quotes databases, Shanghai and Shenzhen.)
    2009-10-27 09:29:38下载
    积分: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
  • FreeFileSync_5.12_source
    一块优秀的文件同步软件源码,可作为学习参考之用(File synchronization software source code,for studying)
    2013-03-04 10:02:24下载
    积分:1
  • api2con
    将空气质量指数转化为污染物浓度(二氧化硫,二氧化氮和颗粒物浓度)的小程序(convert API to concentration)
    2011-01-24 15:36:37下载
    积分:1
  • BindFile
    说明:  Visal c++二进制文件合并,功能非常好用(Visal c++ Binary file merging is very easy to use)
    2008-09-08 13:39:27下载
    积分:1
  • vcexcel
    能够成功读写excel的C++代码,读写速度快,代码简单,实现思路很清晰(Can read and write excel C++ code, read and write speed, the code is simple, to achieve clear thinking)
    2012-02-21 20:31:37下载
    积分:1
  • ReplaceKing
    可在用户指定的文件夹下,搜索带有某个字符串的文件名称,可指定文件后缀名,可选择区分大小写,可遍历子文件夹。对于搜索到的文件,可批量更改名称,将搜索到的字符串替换为用户指定的字符串,可选择替换,也可选择备份源文件。文件搜索和替换采用多线程实现。(Can be user-specified folder, the search string with a file name suffix can specify the file name, choose case-sensitive, can traverse sub-folders. For the search to the file, you can batch change the name to search for the string replaced with the string specified by the user may choose to replace, can also choose to back up the source file. File search and replace multi-thread implementation.)
    2009-10-31 19:31:54下载
    积分:1
  • VC 对Word档的各种
    说明:  利用VC++语言编程,在MFC中对Word文档的各种操作,可供参考。(Using VC++ language programming, various operations of Word documents in MFC can be referred to.)
    2019-03-04 14:13:21下载
    积分:1
  • MergFileDemo
    vc——合并分割的小文件MergFileDemo的程序源码,值得一看!(vc- merge split small files MergFileDemo the program source code, worth a visit!)
    2011-08-23 00:06:32下载
    积分:1
  • date
    开始显示速度很慢,要达到5~6秒。开始显示速度很慢,要达到5~6秒。开始显示速度很慢,要达到5~6秒。(Began to show very slow to reach 5 to 6 seconds.Began to show very slow to reach 5 to 6 seconds.Began to show very slow to reach 5 to 6 seconds.)
    2013-12-12 14:23:28下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载