-
哈夫曼压缩程序,实现了文件加读取,对文本文件的压缩率与rar差不多,读学习c/c++的朋友非常有用...
哈夫曼压缩程序,实现了文件加读取,对文本文件的压缩率与rar差不多,读学习c/c++的朋友非常有用-huffman compression program, which realizes folder access and compressing rate is the same to rar when compressing text file
- 2022-07-25 11:00:53下载
- 积分:1
-
c#下做的启动界面,又称动时logo,只是给了实现方式,大家可以自己添加要的图片...
c#下做的启动界面,又称动时logo,只是给了实现方式,大家可以自己添加要的图片-c# to do start-up under the interface, also known as when moving logo, only to realize the way, everyone can add to the picture
- 2022-03-24 08:03:17下载
- 积分:1
-
把doc文档转成pdf后刻录成CD,用VC++开发,用了Nero的SDK和CXIMAGE的D
把doc文档转成pdf后刻录成CD,用VC++开发,用了Nero的SDK和CXIMAGE的D-The doc into a pdf file after the burn CD, with VC++ Development, used the Nero
- 2022-02-07 10:49:20下载
- 积分:1
-
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输...
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输出形式:
输出相应的编码压缩文件和解码原文件
3) 程序所能达到的功能:
利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。
比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。
如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈夫曼树的特点
a) 是二叉树的一种,而且是一种没有度数是1的二叉树
b) 一棵树有n个叶子,就会用2n-1个节点
c) 一种“最优”二叉树,由于树的带权路径(WPL)最小
d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
- 2022-03-21 06:23:05下载
- 积分:1
-
one tool
自定义 Microsoft Visio 可以配合开发 Microsoft Visio 解决方案,该解决方案是创建解决方案以解决特定绘图问题...
one tool
自定义 Microsoft Visio 可以配合开发 Microsoft Visio 解决方案,该解决方案是创建解决方案以解决特定绘图问题的完善指南。您可以获得有关使用公式设计模仿真实物体和行为的 SmartShape 符号的详细信息。-one tool self-define Microsoft Visio ,it can cooperate with Microsoft Visio to make solution.this solution is a full reference for drawing .you may get SmartShape symbol information about formula to simulate the real object.
- 2023-09-08 18:50:04下载
- 积分:1
-
这是一个用Delphi7开发的Windows下的压缩我解压缩源码。大小为1.46M。...
这是一个用Delphi7开发的Windows下的压缩我解压缩源码。大小为1.46M。-This is a development with Delphi7 under Windows I decompress compressed source. The size of 1.46M.
- 2022-11-20 19:00:03下载
- 积分:1
-
数据压缩算术编码
数据压缩算术编码-data compression arithmetic coding
- 2022-12-20 09:40:03下载
- 积分:1
-
lz编码译码LZW就是通过建立一个字符串表,用较短的代码来表示较长的字符串来实现压缩....
lz编码译码LZW就是通过建立一个字符串表,用较短的代码来表示较长的字符串来实现压缩.
-lz codec LZW is through the establishment of a string table, with a shorter code to represent a long string to achieve compression.
- 2022-07-17 05:43:51下载
- 积分:1
-
FoxMail信息自动填充
FoxMail信息自动填充-information automatically filled FoxMail
- 2022-01-28 15:56:17下载
- 积分:1
-
SharpZipLib之前叫做NZipLib,完全由 C# 开发的压缩库,支持Zip, GZip, Tar and BZip2 ,为2007年8月最新0852r...
SharpZipLib之前叫做NZipLib,完全由 C# 开发的压缩库,支持Zip, GZip, Tar and BZip2 ,为2007年8月最新0852release版的代码实例!
Changes for v0.85.2 release
Minor tweaks for CF, ZipEntryFactory and ZipFile.
Fix for zip testing and Zip64 local header patching.
FastZip revamped to handle file attributes on extract + other fixes
Null ref in path filter fixed.
Extra data handling fixes
Revamped build and conditional compilation handling
Many bug fixes for Zip64.
Minor improvements to C# samples.
ZIP-1341 Non ascii zip password handling fix.
ZIP-355 Fix for zip compression problem at low levels
-SharpZipLib called before NZipLib, entirely by the C# Compression library developed to support the Zip, GZip, Tar and BZip2, for in August 2007 the latest version of the code examples 0852release! Changes for v0.85.2 releaseMinor tweaks for CF, ZipEntryFactory and ZipFile.Fix for zip testing and Zip64 local header patching.FastZip revamped to handle file attributes on extract+ Other fixesNull ref in path filte
- 2022-04-29 16:52:15下载
- 积分:1