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

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

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

  • 本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保...
    本程序设计分为服务器应用程序及客户机应用程序部分,采用Socket套接字库网络编程。(UDP)和(TCP/IP)相结合的连接方式,及解决了数据传输的时效性又能保证数据在传输的过程中不会丢失。另外程序采用多个线程来避免程序阻塞。具体设计思路及部分代码如下: 程序设计目的:首先就是完成课设任务啦(大二课设内容)其他目的: 1:练习使用套接字进行网络编程。 2:练习使用自定义消息。 3:练习多线程方面的编程思想。 4:练习使用各种控件。 -This procedure is divided into server application design and part of the client application using Socket socket network programming library. (UDP) and (TCP/IP) connection method of combining, and resolved the timeliness of data transmission but also ensures that the process of data transmission will not be lost. Other procedures to avoid the use of multiple threads blocking procedures. Specific design ideas and some code as follows: program design purposes: first mission is set up you finish class (sophomore class for the content of) other purposes: 1: Practice using the socket network programming. 2: Practice the use of custom message. 3: practice aspects of multi-threaded programming idea. 4: Practice using a variety of controls.
    2022-03-23 04:56:54下载
    积分:1
  • 实践
    c语言练习--计数器 介绍了一种用c语言实现计数器的程序 供大家参考-practice-- Counter introduces a language counter c procedures for your consideration
    2023-05-27 20:45:04下载
    积分:1
  • 简单dubbo分布式项目demo
    dubbo分布式项目,定义接口   服务调用   服务发布等
    2023-01-22 23:35:04下载
    积分:1
  • 源代码附书”的物理游戏商“戴维男孩…
    The source code accompanying the book "Physics for Game Developers" by David Bourg (2001) Source code in C++ (WinAPI / DirectX)-The source code accompanying the book "Physics for Game Developers" by David Bourg (2001) Source code in C++ (WinAPI/DirectX)
    2022-03-26 15:02:51下载
    积分:1
  • 这是进程调度的软件,站资源:包括大量ASP源代码、网页模板、PSD源文件、FLASH源文件、网页图库、站长论坛,服务器工具、网页教程和大量网站建设工具。 网站声...
    这是进程调度的软件,站资源:包括大量ASP源代码、网页模板、PSD源文件、FLASH源文件、网页图库、站长论坛,服务器工具、网页教程和大量网站建设工具。 网站声明:本源码及资源由中国站长(www.cnzz.cn)收集整理后提供下载 。 网站域名:http://www.cnzz.cn-This a process dispatcher s software, resources stand: Include a large number of ASP source codes , webpage template , PSD source document , FLASH source document , webpage picture library , head s forum, server tool , webpage study course and a large number of website construction tools. Websites declare: Origin yard and resource are by the Chinese head (www. cnzz. Cn) compile back offering download. Website s domain name: http://www. cnzz. cn
    2022-02-14 12:30:10下载
    积分:1
  • With C++ Prepared HMM model, MFC framework, the source code of the resource shar...
    用C++编写的HMM模型,MFC架构的,源代码部分,资源共享-With C++ Prepared HMM model, MFC framework, the source code of the resource sharing
    2023-04-15 10:00:02下载
    积分:1
  • a chat software, and server
    一个聊天软件,分客户与服务器两部分。-a chat software, and server-client two parts.
    2023-05-24 08:10:04下载
    积分:1
  • 利用土地的贪婪算法
    这是一个从pgm文件创建tin的算法。
    2022-05-16 16:46:26下载
    积分:1
  • 程序的环境:本程序采用Microsoft Visual Studio 2005集成环境即 asp.net 2.0+access 数据库...
    程序的开发环境:本程序采用Microsoft Visual Studio 2005集成环境开发即 asp.net 2.0+access 数据库开发-Program development environment: This procedure using Microsoft Visual Studio 2005 integrated development environment that is, asp.net 2.0+ Access database development
    2022-12-13 05:00:03下载
    积分:1
  • 486DX66 cache测试文件,vcd格式
    486DX66 cache测试文件,vcd格式-486DX66 cache test document format vcd
    2022-03-15 15:42:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载