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

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

于 2022-02-10 发布 文件大小:2.98 kB
0 163
下载积分: 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 个回复

  • 基于VC++,画各种各样的椭圆程序,并且是拖拽鼠标就可画的。...
    基于VC++,画各种各样的椭圆程序,并且是拖拽鼠标就可画的。-Based on VC++, painting a variety of elliptical procedures, and drag the mouse can be drawn.
    2022-01-25 15:47:34下载
    积分:1
  • C++ 编程练习代码
    c++第五版,用于前四章的联系,使用于初学者,希望大家多多交流,获得更好的学习资源。其中包括了前四章的部分练习题答案,其中也有不完善或者不规范的请,大家批评指正。
    2022-08-24 11:57:21下载
    积分:1
  • VC++ MFC
    MFC实现的基点计算小程序,可连续输入课程成绩和课程学分并计算出平均基点-VC++ MFC
    2022-03-13 18:35:32下载
    积分:1
  • geckopluginsdk
    GeckoPluginSDK-samplesWin32.zip是mozilla插件开发的一些示例,其中包含必要的SDK开发插件
    2022-01-26 06:47:53下载
    积分:1
  • 关于如何显示位图,用C语言实现的。 有一定的 言及欧价值1
    关于如何显示位图,用C语言实现的。 有一定的 言及欧价值1-On how to display a bitmap with C language realization. Europe has some mention of the value of one
    2023-02-26 06:35:03下载
    积分:1
  • 最新最全的Windows CE 培训资料,我上传好几次都没有成功. 强烈推荐. 全书内容包括:本书分为上篇、中篇和下篇三个部分,上篇为Windows CE .N...
    最新最全的Windows CE 培训资料,我上传好几次都没有成功. 强烈推荐. 全书内容包括:本书分为上篇、中篇和下篇三个部分,上篇为Windows CE .NET结构分析,中篇为Windows CE .NET情景分析,下篇为实验。每一篇又划分为若干章。上篇包含有引言,Windows CE .NET体系结构,处理器调度,储存管理,文件系统和设备管理等六章。中篇包含有系统初始化,处理器调度过程,分页处理,档案处理和驱动器加载等五章。下篇包含有Windows CE .NET应用开发,Windows CE .NET系统开发,评测与总结以及实习等四章。 上篇的重点在于分析Windows CE .NET核心的结构以及工作原理。这个部分是掌握Windows CE .NET的基础。 中篇重点在于分析Windows CE .NET核心的实际运行过程。如果说上篇的是从静态的角度分析Windows CE .NET核心,那么中篇则是试图从动态的角度给读者一个有关Windows CE .NET核心的描述。希望读者能够通过对中篇的阅读理解,在头脑中形成有关Windows CE .NET核心的多方位的运作情景。 下篇行动终端。对理论的掌握最终要应用到实务中。相信读者们会在应用Windows CE .NET的应用中不断取得成功。
    2022-01-22 14:31:41下载
    积分:1
  • 一个小时钟程序,可以始计时和暂停,显示当前时间
    一个小时钟程序,可以开始计时和暂停,显示当前时间-a small clock algorithm, it can note the begining time and the finished time, and display the current time.
    2022-02-13 19:31:42下载
    积分:1
  • 中断服务程序的关键是:1.保护进入中断时的状态,并在退出中断之前恢复进入时的状态。2.必须在中断程序中设定是否允许中断重入,即设置EX0位。 本例中使用了I...
    中断服务程序的关键是:1.保护进入中断时的状态,并在退出中断之前恢复进入时的状态。2.必须在中断程序中设定是否允许中断重入,即设置EX0位。 本例中使用了INT0中断,一般中断程序进入时应保护PSW,ACC以及中断程序使用但非其专用的寄存器。本例的INT0程序保护了PSW,ACC,2等三个寄存器并且在退出前恢复了这三个寄存器。另外中断程序中涉及到关键数据的设置时应关中断,即设置时不允许重入。本例中没有涉及这种情况。 实验开始时K8应在H(高电平)端,要产生中断时先拨向L(低电平)端再拨回H端。 -Interrupt service s key is: 1. the protection enters when the interrupt condition, and when the withdrawal interrupt before regains enters the condition. 2. must in the interrupt routine establish whether to permit the interrupt re-entry, namely establishes the EX0 position. in this example has used the INT0 interrupt, generally the interrupt routine enters when should protect PSW, ACC as well as the interrupt routine use but non-its special-purpose register. This example INT0 program protection PSW, ACC,2 and so on three registers, and restored these three registers before the withdrawal. Moreover in the interrupt routine involves to when the essential data establishment should close the interrupt, namely when establishment does
    2022-03-22 04:01:46下载
    积分:1
  • customizing buttons to round button
    customizing buttons to round button
    2022-04-28 15:38:36下载
    积分:1
  • realtek562x系列驱动源码。wince,xscale平台。可轻松移植到其他arm平台下。...
    realtek562x系列驱动源码。wince,xscale平台。可轻松移植到其他arm平台下。-realtek562x series driver source code. wince, xscale platform. Can be easily ported to other platforms under the arm.
    2022-01-26 01:09:40下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载