登录
首页 » c++ » 利用哈夫曼编码实现文本压缩

利用哈夫曼编码实现文本压缩

于 2022-08-19 发布 文件大小:1.33 kB
0 137
下载积分: 2 下载次数: 1

代码说明:

按位读取文本中的字节,然后进行哈夫曼编码,编码后按位存入新的文本,实现压缩效果。反过来从压缩文本中按位读取,按哈夫曼编码进行还原,得到原来的文本。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • vgpicker
    说明:  在mfc单文档下的p程序 通过碰撞检测实现了模型的抓捕(Mfc Single Document in p under the collision detection procedure realize the model to capture)
    2008-09-25 15:54:50下载
    积分:1
  • Robot
    opengl 实现 简单 的 机器人 ,可以看懂后提取使用(opengl achieve a simple robot)
    2013-01-07 19:56:24下载
    积分:1
  • led run
    stm32f407 跑马灯实验 原子个例程 学习模块(stm32f407 led run stm32f407 stm32f407 stm32f407)
    2019-04-25 11:10:51下载
    积分:1
  • 7463744
    如何实现程序闪屏效果,C++Builder精选编程学习源码,很好的参考资料。(How to realize the procedure of splash effect, C++Builder select learning programming source code, a good reference.)
    2013-11-22 06:11:41下载
    积分:1
  • compass
    a c example program for digital compass
    2010-04-23 03:44:12下载
    积分:1
  • 51Serial
    51单片机AT89C52串行通信.上位机通过串口向单片机发数据,单片机接收后发回给上位机。(51 AT89C52 single-chip serial communication. PC send data through the serial port to the microcontroller, the microcontroller has sent back to the host computer.)
    2013-09-19 12:11:25下载
    积分:1
  • linjiequ
    使用类编程实现临界区,VC++网络编程,使用VC6.0编译器实现(Use class programming critical, VC++ network programming, using VC6.0 compiler implements)
    2013-07-14 22:29:26下载
    积分:1
  • database-cPP2
    visual c++结合SQL 的典型应用,希望对大家的学习有帮助(visual c combination of SQL, a typical application, we hope that we learn to help )
    2012-03-10 00:20:33下载
    积分:1
  • AT89C51 LED点阵显示图形 源码+仿真
    本设计使用单片机AT89C51作为主控制模块,利用简单的外围电路来驱动16×16的点阵LED显示屏。在本设计中主要用两个74HC595来驱动16×16点阵显示屏的列,用两个74HC595来驱动16×16点阵显示屏的行,最终实现16*16点阵显示屏显示图形。也就是说,硬件电路大致上可以分成单片机系统及外围电路、列驱动电路和行驱动电路等三部分。
    2023-04-29 09:30:02下载
    积分:1
  • CBSYS
    出版商印刷数据库设计 初始条件: 一个印刷书的印刷公司希望建立数据库来处理用户的印刷需要。一本书的出版发行人员提交了一份描述印刷工作的单据,印刷工作需要的使用材料,由购买清单指定。 (Publishers print database design initial conditions: a printed book printing company hopes to establish a database to handle the user s printing needs. A book publishing and distribution staff submitted a description of the work of printing documents, printing requires the use of materials, from the purchase of the designated list.)
    2020-12-03 15:19:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载