登录
首页 » Visual C++ » DS4

DS4

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

  • 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
  • sitesee
    网规网优之用,用于绘制基站扇区图,地理化显示基站方便工程师进行查看。(Net regulatory network optimization purposes, used to map the base station sector maps, geographic-based display base stations to facilitate engineers to view it.)
    2021-04-20 14:58:50下载
    积分:1
  • 12344556
    说明:  用单片机来直接驱动步进电机很精确走小步子.(Using single-chip to directly drive stepper motor is very accurate take small steps.)
    2008-09-04 10:47:40下载
    积分:1
  • Compressed-Sensing
    压缩感知的经典书籍,请大家下载查阅,好的东西大家一起分享哦,谢谢大家了!!(compresed sensoring)
    2020-12-31 10:18:59下载
    积分:1
  • cangkuguanli
    利用C++实现的插入,删除,增加接点等功能(The use of C++ Realized insert, delete, increase the contact and other functions)
    2008-12-29 21:36:59下载
    积分: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
  • x264dateflow
    说明:  文件介绍了x264程序的算法流程表,每个函数的内容详细介绍在里面 (Document describes the algorithm flow chart x264 programs, and detailed description of each function in it)
    2011-04-15 21:44:43下载
    积分:1
  • 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
  • CST_Cversion
    基于类函数形函数的参数化建模方法,适用于气动设计和优化(Class/Shpae Transform method)
    2020-12-09 16:59:19下载
    积分:1
  • Renderer
    this is renderer function
    2009-11-15 21:17:44下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载