登录
首页 » 数据结构 » 哈弗曼编码/译码系统

哈弗曼编码/译码系统

于 2022-03-09 发布 文件大小:962.37 kB
0 219
下载积分: 2 下载次数: 1

代码说明:

设计一个哈夫曼编码、译码系统。对一个ASCII编码的文本文件中的字符进行哈夫曼编码,生成编码文件;反过来,可将编码文件译码还原为一个文本文件。1.初始化。任意读入一个ASCII编码的文件,统计数据,建立哈夫曼树。2.编码。利用已建立的哈夫曼树给出每个字符的哈夫曼编码。3.图形化输出哈夫曼树中各结点以及哈夫曼编码。4.译码。利用已建立的哈夫曼树对输入文件进行译码并存储为.huf压缩文件。5.反译码。将huf文件译码为ASCII编码的txt文件,与原txt文件进行比较。

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

发表评论

0 个回复

  • 简单的全排列与组合问题的递归解法,与算法中较基础的问题...
    简单的全排列与组合问题的递归解法,数据结构与算法中较基础的问题-simple combination with the full array of recursive method, data structure and algorithm based on the issues than
    2023-05-12 12:55:02下载
    积分:1
  • A large car s image database to training neural network , classifier ecc.
    A large car s image database to training neural network , classifier ecc.
    2022-03-22 02:21:46下载
    积分:1
  • 我自己写的值分析课程设计的源代码,这里是值插值算法的内容。...
    我自己写的数值分析课程设计的源代码,这里是数值插值算法的内容。-I wrote it myself numerical analysis courses designed source code, here is the interpolation algorithm for the numerical content.
    2022-03-16 09:21:16下载
    积分:1
  • List storage structure used to achieve the basic operation of the linear form. (...
    用链表存贮结构实现线性表的基本操作。(包括各种操作)-List storage structure used to achieve the basic operation of the linear form. (Including a variety of operation)
    2023-01-19 20:45:04下载
    积分:1
  • SQL+VB完美
    SQL+VB完美结合-SQL VB perfect combination
    2022-03-23 18:31:32下载
    积分:1
  • Data Structure e
    数据结构电子书,清华大学出版社,严蔚敏老师-Data Structure e-books, Tsinghua University Press, YAN Wei-min Teachers
    2022-01-22 06:44:26下载
    积分:1
  • [问题描述] 将N个关键字去整的记录进行整序, 以使所有关键字为非负的记录排在关键字为负的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
    [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
    2022-03-17 21:15:57下载
    积分:1
  • sqlite_client
    sqlite当前使用较方便的桌面数据库。如果使用远程访问sqlite数据库。该文件是sqlite客户端程序的简单测试程序,使用netSqlite的接口。配合sqlie服务器代码,能够访问远程服务器上的sqlite数据。
    2022-05-31 08:02:54下载
    积分:1
  • A very useful NET s SQL progam.
    非常实用的NET的SQL 程序-A very useful NET s SQL progam.
    2022-02-21 14:24:37下载
    积分:1
  • 用VB程序SPK看见
    应用背景源系统,用penunjang科德metode看到使用Visual Basic 6关键技术源科德ini使用马来语pemroragam Visual Basic 6丹,databasenya,MySQL,mengkoneksikannya dibutuhkan XAMPP ODBC连接器
    2022-01-23 10:47:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载