登录
首页 » Visual C++ » DS4

DS4

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

  • The-Hoffman-code
    利用Huffman编码方式对一段文字进行编码和解码。哈夫曼编码是可变字长编码(VLC)的一种。(Using the Huffman encoding method for encoding and decoding of a paragraph of text. Huffman code is a variable length coding (VLC) is a kind of.)
    2015-01-27 15:30:06下载
    积分:1
  • Dezender4.3
    说明:  黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版(Black knife Black knife Dezender4.3 Simplified Chinese Simplified Chinese version of Dezender4.3 Simplified Chinese version of the black knife Dezender4.3)
    2010-03-21 07:30:14下载
    积分:1
  • 01
    说明:  规划不放过该法规和法规的规定国的风格的风格的风格地方鬼地方法国风格和法规和法国(发广告部分)
    2009-11-22 19:20:47下载
    积分:1
  • ivsdk
    非常好的视频压缩filter,可以实现mpeg2 mpeg1的视频压缩,用户可以自己选择码率(very good video compression filter can achieve mpeg1 mpeg2 video compression, Users can choose Rate)
    2006-08-10 15:58:10下载
    积分:1
  • RecordManagementSystem-devoleped-by-VC
    说明:  压缩包包括完整的实例代码,可供大家研究和学习,内附说明!(Archive includes a complete example code, for all research and study, included instructions!)
    2010-04-21 15:07:24下载
    积分:1
  • EZW2
    利用零树小波的概念,完成了对静态图像的编码与解码,经过调试的。(The use of the concept of zerotree wavelet completed on the static image encoding and decoding, after debugging.)
    2008-06-26 09:03:38下载
    积分:1
  • C语言 文件的
    文件的解压缩。添加文件unzip.h、unzip.cpp、zip.h、zip.cpp,调用对应函数进行压缩和解压。压缩格式为zip;压缩之后的文件可以用winrar等程序打开。(File decompression. Add file unzip.h, unzip.cpp, zip.h, zip.cpp, call the corresponding function for compression and decompression. Compression format is zip the file after compression can be opened by winrar.)
    2020-07-14 09:58:51下载
    积分:1
  • ZipTest_src
    ZIP 压缩、解压 源码,C 语言实现,文件压缩解压缩(ZIP compression, decompression source code, C language, file compression and decompression)
    2012-11-06 12:23:27下载
    积分:1
  • lzari算法
    这是一个基于LZARI算法的数据压缩的类.Haruhiko Okumura 于1989年7月4日用C语言写实现了这个算法.但是上面用到了一些全局或静态的变量,在MFC下用起来很不方便.作者把它改写成了一个C++类,使它可以方便的压缩和解压缩。(LZARI algorithm based on the type of data compression. Haruhiko SAP in 1989, July 4 C language daily wrote realization of this algorithm. But above uses some static or global variables, using the MFC which are very convenient. Authors rewrite it became a category C, it can be to facilitate the compression.)
    2005-03-06 13:01:17下载
    积分: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
  • 696518资源总数
  • 106005会员总数
  • 36今日下载