登录
首页 » Visual C++ » hafuman

hafuman

于 2014-05-07 发布 文件大小:8KB
0 231
下载积分: 1 下载次数: 2

代码说明:

  使用哈弗曼算法,对文件进行压缩然后再进行解压。(Use the Huffman algorithm to compress the file and then decompress.)

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

发表评论

0 个回复

  • Erika
    upx解压,演示upx解压的程序源码,仅供参考。(upx unpack,show upx unpack program source code)
    2016-03-25 11:07:12下载
    积分:1
  • DS4
    设电文字符集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 停止 }
    2015-06-06 16:41:33下载
    积分:1
  • PhucDo_PhanLop
    Docuemtns,Hot Documents
    2009-12-26 14:25:16下载
    积分:1
  • gwbssrari
    这里给出的源代码huffman.zip用8种不同的方式实现了Huffman编码算法。这些代码意在演示不同Huffman算法的实现原理,比较算法执行效率的差别,但并没有针对实际应用环境的需求,做更多的空空空间或效率优化。全部代码以C++语言开发,为了更容易地实现各种数据结构,代码中大量应用了标准C++库与模板技术。——总之,这些代码的作用在于示例与演示;如果大家想把这些代码应用在实际应用中,可能还需要 (The given here source code huffman.zip eight different ways to achieve the Huffman coding algorithm. These codes are intended to demonstrate different Huffman algorithm implementation principle, the difference of the algorithm execution efficiency, but does not demand for practical application environment, do more empty space or efficiency optimization. The entire code C++ language development code in order to make it easier to achieve a variety of data structures, a large number of applications the standard C++ library template.- In short, these code examples and demonstration If we want the code used in practical applications may also need)
    2012-08-23 20:05:50下载
    积分:1
  • GZIP例子
    说明:  利用gzip.dll解压http请求返回的内容。内附gzip.dll。参考网上资料自己写的VB6工程源码。自己编译EXE的时候注意把gzip.dll释放到exe所在目录。(Use gzip.dll to decompress the content returned by HTTP request. Gzip.dll is attached. Refer to the VB6 project source code written by myself.)
    2020-06-22 07:00:02下载
    积分:1
  • 0904210213
    霍夫曼编码的C++实现,输入一组字符串,输出每个字符的编码及整个字符串的霍夫曼编码。(realization of Huffman coding using VC++)
    2012-04-15 20:52:45下载
    积分: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
  • HuffMan
    哈夫曼编码译码系统,设置发送者和接受者两个功能, 发送者的功能包括: ①输入待传送的字符信息; ②统计字符信息中出现的字符种类数和各字符出现的次数(频率); ②根据字符的种类数和各自出现的次数建立哈夫曼树; ③利用以上哈夫曼树求出各字符的哈夫曼编码; ④将字符信息转换成对应的编码信息进行传送。 接受者的功能包括: ①接收发送者传送来的编码信息; ②利用上述哈夫曼树对编码信息进行翻译,即将编码信息还原成发送前的字符信息。 (Huffman decoding system, set the sender and the recipient of two functions, the sender' s features include: (1) input to be transmitted character information ② statistical character information, the number of types of characters and characters the number of occurrences (frequency create a Huffman tree) ② According to the number of types of characters and their respective number of occurrences ③ use the Huffman tree to find the characters Huffman coding ④ character information into the corresponding coding information for delivery. The recipient of the features include: (1) to receive the coded information to the sender transmission ② above Huffman tree coded information to be translated, is about to coded information to restore the character information before sending.)
    2012-06-21 21:01:17下载
    积分:1
  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • ya_shuo
    一个可以简单的压缩小程序,是利用游程编码原理(One can simply compress small program is the use of run-length coding theory)
    2014-12-18 14:06:52下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载