登录
首页 » 算法 » c语言实现哈夫曼编码

c语言实现哈夫曼编码

于 2022-03-17 发布 文件大小:2.45 kB
0 168
下载积分: 2 下载次数: 1

代码说明:

实现哈夫曼编码的基本功能,包括输入需要编码的字符个数及字符,程序会自动生成哈夫曼编码并且将编码结果进行输出。同时,有解码的过程,可以用于对已经编好的哈夫曼编码进行解码。方便大家进行学习交流。

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

发表评论

0 个回复

  • matrix operations such as matrix inversionmethods,It is part of java3d project...
    java 写的matrix等的一些操作,含有矩阵求逆等方法,是java3d的一部分。https://java3d.dev.java.net/binary-builds.html -matrix operations such as matrix inversionmethods,It is part of java3d project. https:// java3d.dev.java.net/binary-builds.html
    2022-02-22 08:10:23下载
    积分:1
  • How to modify the MFC AppWizard Wizard to generate the appearance of the framewo...
    如何修改MFC AppWizard向导生成的框架程序的外观和大小,修改图标、光标、背景的三种方法。如何增加和删除工具栏按钮,如何给应用程序增加工具栏,如何显示和隐藏工具栏。定制状态栏,在状态栏中添加时钟显示,CTime类及其用法。在状态栏中添加进度条(主窗口产生后立即产生进度条的巧妙思想,不能在OnCreate函数中直接处理,要用到自定义消息的方法)。鼠标坐标显示,在CView中获取状态栏对象的几种方式。如何为应用程序添加启动画面。 -How to modify the MFC AppWizard Wizard to generate the appearance of the framework of procedures and size, modify the icon, cursor, background three methods. How to add and remove toolbar buttons, how to increase the application toolbar, how to show and hide the toolbar. Custom status bar, add in the status bar clock display, CTime class and its usage. In the status bar to add the progress bar (the main window immediately after the progress bar the ingenious ideas, in the OnCreate function should not directly deal with, to use a custom message to the method). Mouse coordinates shows that access to the status bar in the CView object in several ways. How to add a splash screen applications.
    2022-12-03 22:25:03下载
    积分:1
  • 差分进化
    Differential evolution: A simple and efficient heuristic for global optimization over continuous spaces. This code implements a basic multi-objective optimization algorithm based on Diferential Evolution (DE) algorithm. When one objective is optimized, the standard DE runs; if two or more objectives are optimized, the greedy selection step in DE algorithm is performed using a dominance relation.
    2022-07-08 18:06:29下载
    积分:1
  • 一些经常用到的C程序
    一些经常用到的C算法程序-some frequently used procedures C Algorithm
    2022-07-20 06:52:10下载
    积分:1
  • 模糊洗衣机系统,通过对衣服干净程度的判断来控制水温,洗衣时间长短以及洗衣粉用量。...
    模糊洗衣机系统,通过对衣服干净程度的判断来控制水温,洗衣时间长短以及洗衣粉用量。-Fuzzy washing system, through the clean clothes to determine the extent to control water temperature, the length of time as well as laundry detergent dosage.
    2022-05-27 17:48:43下载
    积分:1
  • 该程序是用C语言写的采用了动量方的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的...
    该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的方法,该网络实例中实现的是对某一函数的逼近,输入层为二层,中间层可自己设定多达十几层,逼近精度非常精确。读者可根据自己的需要设定各层的数目以及相应的训练样本进行训练与测试。-The program is written in C language using the momentum method of BP neural network, which has extremely powerful scalability, can be used for function approximation and classification in areas such as language specification, including large-scale use of a dynamically allocated one, two dimensional array of methods, examples of the network realize that the approximation of a function, for the second input layer, middle layer can be set as many as a dozen layers, close to very precise accuracy. Readers may need to be set in accordance with its own number of floors and the corresponding training samples for training and testing.
    2022-09-23 15:35:02下载
    积分:1
  • C和C++代码精粹
    C和C++代码精粹.pdf 第一章:更好的C 第二章:指针 第三章:预处理器 第四章:C标准库之一:面向合格的程序员 第五章:C标准库之二:面向熟练的程序员 第六章:C标准库之三:面向优秀的程序员 第七章:抽象 第八章:模版 第九章:位操作 第十章:类型转换与强制类型转换 第十一章:可见性 第十二章:控制结构 第十三章:异常 第十四章:面向对象编程 第十五章:算法 第十六章:容器和迭代器 第十七章:文本处理 第十八章:文件处理 第十九章:时间和日期处理 第二十章:动态内存管理 附录
    2022-02-27 04:11:57下载
    积分:1
  • dtw语音识别
    dtw是语音识别中的一种重要算法,该算法在语音识别中得到广泛的应用,是一种很实用的算法。
    2023-05-10 17:05:03下载
    积分:1
  • 标本物性累计概率计
    该程序对采集标本的物性(电阻率,密度,磁化率)在各样本区间出现的累积频率进行统计。 1.首先输入样本组数NY,即你想将该物性样本分为几组。 2.然后输入文件FILEIN内容为某一特定标本的特定物性,格式为一维列向量。 3.程序读入文件后,先对数据进行排序,然后计算出分组的组距DATAA1,如果DATAA1小数点太多,可自行输入修正组距DATAA。例如DATAA1为0.9476554321时,不直观,可将修正组距DATAA设为0.95。 4.进行累计概率计算。 5.输出文件FILEOUTbln有两个参数,组距坐标x,累计概率PFREQ。
    2022-06-27 18:06:40下载
    积分:1
  • 正弦信号估计的扩展卡尔曼滤波 & UKF
    M 文件包括的扩展卡尔曼滤波和卡尔曼 Filter(includes both nonaugment and augment) Unscent 估计正弦信号的算法。代码可以正确运行和结果显示明显。
    2023-05-23 10:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载