登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 392
下载积分: 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 个回复

  • sm3
    C++编程SM3压缩算法源码,接口简单易用(SM3 compression algorithm)
    2012-07-06 23:10:00下载
    积分:1
  • xinxi
    哈夫曼编码,基于MFC开发。哈夫曼编码为熵编码中的最佳方法之一,广泛用于各种数据压缩技术中。-Huffman coding, based on the MFC. Huffman coding for entropy coding one of the best ways, for a wide variety of data compression technology.
    2011-07-12 10:33:01下载
    积分:1
  • TestMQCoder
    JPEG里MQ算术编码测试程序 编解码器 C(MQ arithmetic coding in JPEG test procedure codec C)
    2020-12-06 09:19:22下载
    积分: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
  • MCAB
    简单易用的制作压缩包软件,原著老毛桃。使用简单,压缩时间快(easy to use for make cab)
    2013-10-14 16:30:06下载
    积分:1
  • ya_shuo
    一个可以简单的压缩小程序,是利用游程编码原理(One can simply compress small program is the use of run-length coding theory)
    2014-12-18 14:06:52下载
    积分:1
  • JPEG2000-library-source-code
    JPEG2000库源代码(最新的JPEG2000标准源代码)(JPEG2000 library source code)
    2012-12-03 21:32:19下载
    积分:1
  • j-link-The-firmware-fix-pack
    J-LINK V8 出厂固件烧录与修复文件,压缩包中的.bin烧录文件为破解文件烧录即可使用,且附带烧录教程、破解教程(J- LINK V8 factory firmware replication and repair files, compressed package. In the buffer bin file for solving file replication can be used, and the supplementary burning tutorials, crack tutorial)
    2016-02-17 17:43:38下载
    积分:1
  • haffman
    对输入的字符进行哈弗曼编码,生成编码表,计算压缩比等(haffman tree)
    2011-08-30 14:10:52下载
    积分:1
  • cccc
    输入两个正整数m和n,求其最大公约数和最小公倍数(Enter two positive integers m and n, can seek the common denominator and least common multiple)
    2010-05-11 21:19:20下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载