登录
首页 » c » 简单的huffman实现,读一个文件,然后进行Huffman编码

简单的huffman实现,读一个文件,然后进行Huffman编码

于 2022-04-08 发布 文件大小:2.79 kB
0 81
下载积分: 2 下载次数: 1

代码说明:

最近在尝试Huffman编码,搜了很多,但是网上的不是有问题,就是不好使,因此,自己简单实现了一个Huffman编码的程序,该程序实现了从文件中读取数据后,构建Huffman树,对每个字符进行huffman编码,然后再对文件中的数据进行编码,并生成新的文件。当然是静态Huffman编码的实现。

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

发表评论

0 个回复

  • 51654498STM32F107_LwIP_PTP_V1.0.3
    这是ptp时钟同步代码,经测试有用,移植的时候注意选择版本,推荐使用v2 版本stm32 ms评估板(this is ptp,this is ptp this is ptp this is ptp)
    2018-01-30 19:17:29下载
    积分:1
  • oracle-cn-help-good
    oracle 帮助文档 综合 最近在学oracle 下了些基本的语句文章 还有三个chm文档,很好的帮助。 真的,很好(oracle help document comprehensive learning oracle under some basic statements in the article, there are three chm documentation and good help. Really good)
    2012-11-25 20:08:02下载
    积分:1
  • SHIYAN
    opengl实现纹理贴图及映射,可通过键盘更改角度(opengl achieve texture mapping and mapping, you can change the angle of the keyboard)
    2013-10-04 20:40:17下载
    积分:1
  • dianyabiao
    数字电压表的源程序,可以实现实现测量电路的电压,精确到小数点后面三位数字。附带数字电压表的流程图(Digital voltage meter source, can be implemented to realize the voltage measurement circuit, down to the decimal point three digits.Attached flowchart of digital voltmeter)
    2013-11-15 16:38:21下载
    积分:1
  • stm32_CALC
    基于STM32的计算器,用数码管显示的,实现了基本的加减乘除,功能还有待扩展(STM32-based calculator, digital display, to achieve the basic addition and subtraction, multiplication and division, functions have yet to be extended)
    2021-03-08 23:29:28下载
    积分:1
  • 简单的Socket通信
    一对一,socket对话通信,可通过安卓AIDE编译执行在手机上
    2022-06-22 00:08:06下载
    积分:1
  • UDF-C
    Fluent UDF应用英文版,讲解的非常清晰。包好的例子(C 开发)主要是关于多相流的(UDF example for fluent)
    2021-03-02 15:39:34下载
    积分:1
  • XTrap
    2011年5月份的Xtrap库文件和头文件( X-Trap Interface Library)
    2020-09-29 15:27:44下载
    积分:1
  • MFC_OPENCV
    在OPENCV平台下实现车牌识别的一套程序 简单有效 可以试试 用C++写的(In OPENCV platform to achieve a set of license plate recognition program is simple and effective, try to write with C++)
    2010-05-24 23:56:43下载
    积分:1
  • keyscan
    用键盘控制数码管,控制数码管进行静态显示,所有的数码管都显示同样的数字(With the keyboard control digital tube, digital tube display, static control all digital tube display the same number)
    2015-08-11 17:22:55下载
    积分:1
  • 696518资源总数
  • 105570会员总数
  • 13今日下载