登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 423
下载积分: 1 下载次数: 2

代码说明:

  设电文字符集D及各字符出现的概率F如下: D={a,b,c,d,e,f,g,h}(字符数n=8) F={5,29,7,8,14,23,3,11}( ) 编写完成下列功能的程序: ①构造关于F的Huffman树; ②求出并打印D总各字符的Huffman编码。 程序结构: 类型说明; 构造Huffman树的函数:Huffman_tree(H[m+1]); 求Huffman编码的函数:Huffman_code(code[n+1]); main() { 变量说明; 输入字符集D及频率F; 调用Huffman_tree(H); 调用Huffman_code(code); 打印编码; Y 继续? N 停止 }

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

发表评论

0 个回复

  • reliability-assessment
    电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
    2020-09-01 09:28:09下载
    积分:1
  • OpenGLdevelopment
    压缩包中包含了gl.h,glaux.h,glext.h,glui.h,glut.h等头文件以及对应的库文件。还有对应的配置方法。(Compression package contains gl.h, glaux.h, glext.h, glui.h, glut.h Header Files and corresponding library file. There are corresponding configuration.)
    2020-12-14 14:49:13下载
    积分:1
  • hafuman
    使用哈弗曼算法,对文件进行压缩然后再进行解压。(Use the Huffman algorithm to compress the file and then decompress.)
    2014-05-07 15:42:15下载
    积分:1
  • RLE
    RLE是一个压缩的算法,里面有算法的C++程序实现。(RLE is a compression algorithm, there are algorithms C++ program)
    2012-05-30 18:38:33下载
    积分:1
  • Erika
    upx解压,演示upx解压的程序源码,仅供参考。(upx unpack,show upx unpack program source code)
    2016-03-25 11:07:12下载
    积分:1
  • huffman
    Huffman编码,使用哈弗曼树生成前缀码,把输入的字符编码并把原字符解码(Huffman code and decode)
    2014-03-06 10:10:34下载
    积分:1
  • huffman
    huffman 编码 完陈对指定的文本文件内容进行huffman编码 实现输出(END CHAN huffman encoding text file on the specified content encoding huffman implementation output)
    2009-04-03 13:04:43下载
    积分:1
  • PackerSDK
    一个压缩软件的SDK,有例子! 请大家尝试!(a packer software sdk)
    2011-11-14 01:15:50下载
    积分:1
  • tttt
    16字节字符串压缩成12字节字符串算法,有压缩和解压的算法(16-byte string into a 12-byte string compression algorithm, compression and decompression algorithms)
    2011-08-09 01:14:58下载
    积分:1
  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载