登录
首页 » Windows开发 » 在发送端通过一个编码系统对待传输数据编码. 在接收端将传来的数据进行译码. 一个完整的系统应具有以下功能: (1)初始化.从终端读入字符集大小,以及...

在发送端通过一个编码系统对待传输数据编码. 在接收端将传来的数据进行译码. 一个完整的系统应具有以下功能: (1)初始化.从终端读入字符集大小,以及...

于 2022-02-10 发布 文件大小:2.98 kB
0 75
下载积分: 2 下载次数: 1

代码说明:

在发送端通过一个编码系统对待传输数据编码. 在接收端将传来的数据进行译码. 一个完整的系统应具有以下功能: (1)初始化.从终端读入字符集大小,以及字符和权值,建立 哈夫曼树,并保存. (2)编码.利用以建好的哈夫曼树对正文进行编码,然后保存. (3)译码.利用已建好的哈夫曼树将文件中的代码进行译码,结果打印出来. -At the sending end through a coding system for encoding transmit data treatment. Will be heard in the receiver to decode the data. A complete system should have the following functions: (1) initialization. Read from the terminal character set size, as well as the characters and the right values, the establishment of Huffman trees, and save. (2) coding. used to build the Huffman tree to encode the text and then save it. (3) decoding. the use of the Huffman tree has been built will document the code decoding, the results print out.

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

发表评论

0 个回复

  • 可以实现学籍管理的c代码,包括记录添加,删除,查找,显示,并且支持100位的密码保护功能...
    可以实现学籍管理的c代码,包括记录添加,删除,查找,显示,并且支持100位的密码保护功能-can achieve Enrollment Management c code, including records add, delete, search, display, and supports 100 password protection function
    2022-01-21 20:22:50下载
    积分:1
  • 有100个VC的编程实例
    有100个VC的编程实例-have one hundred examples of programming by VC++
    2022-06-17 04:21:41下载
    积分:1
  • 这个是vc中清除临时文件的一个批处理工具,很方便
    这个是vc开发中清除临时文件的一个批处理工具,很方便-vc development is the removal of a temporary batch tools, convenient
    2022-03-12 04:21:10下载
    积分:1
  • 好德
    BTMAS 网站BT发布系统是新一代BT发布系统,速度更快,超高负载,占用资源极小,非常适合中大型BT网站投入使用和运营,商业版除拥有所有功能并可整合论坛和扩展功能等。 -hen hao de a
    2023-06-09 09:55:03下载
    积分:1
  • 本枝程序主要介绍怎么正常的去中专一个正在运行的进程。
    本枝程序主要介绍怎么正常的去中专一个正在运行的进程。-This branch introduces the procedure how a normal secondary to the process is running.
    2023-08-11 00:20:03下载
    积分:1
  • 排序程序冒泡排序、 unsort、 部分排序
    #define PARTIALLYSORTED_30 3 #define PARTIALLYSORTED_50 4 #define PARTIALLYSORTED_70 5 #define RANDOMIZE_QSORT 1 #define MERGE_SORT 2 #define SELECTION_SORT 3 #define BUBBLE_SORT 4 / *---随机化快速排序---* / int random_partition (int * arr、 int 开始,int 结束) ; void random_quick_sort (int * arr、 int 开始,int 结束) ; /*----------------------------------------------*/ /*-----------Merge Sort--------------------------*/ 空的分区 (int arr [],int 低,int 高) ; void 归并 (int arr [],int 低,年年高 int int) ; /*------------------------------------------------*/ / *---选择排序---* / void sort_select (int n) ; int; maxind(int m) void swap1 (int * x int * y); /*------------------------------------------------*/ /*-----------------Bubble sort--------------------*/ void recursive_bubble (int * 数组、 int 的大小) ; /*-----------------------------
    2022-07-02 17:33:19下载
    积分:1
  • windows GUI,人工非mfc界面,可以录制视频,要学习摄像头编程和界面编程的都来学习。...
    windows GUI,人工非mfc界面,可以录制视频,要学习摄像头编程和界面编程的都来学习。-non-mfc interface, can record video.
    2022-05-17 03:49:54下载
    积分:1
  • fopen打文件并用socket传输文件的程序,可以跨平台,运行时请注意文件中的源文件的文件名及路径是否正确,需在main函数中改下参数就ok...
    fopen打开文件并用socket传输文件的程序,可以跨平台,运行时请注意文件中的源文件的文件名及路径是否正确,需在main函数中改下参数就ok-fopen to open the file and transfer files using socket procedures, can be cross-platform, run-time Please note that the source document file name and path is correct, in the main function to be changed under the parameters ok
    2022-11-17 19:50:03下载
    积分:1
  • 遗传算法的简单例子
    一个简单的遗传算法的例子,文件包括遗传算法的MATLAB主程序及相关函数文件,含有一个例子文件,一共包含4个文件,仅供学习参考。
    2022-12-30 05:40:04下载
    积分:1
  • OPC Client
    资源描述OPC Client 基本功能实现源代码,使用VC++编写,在VS2005下编写,界面比较简单,有注释,可以参考注释修改代码或者参考代码,没有多余功能,简介清楚,容易移植。
    2023-06-11 08:35:19下载
    积分:1
  • 696524资源总数
  • 103945会员总数
  • 46今日下载