CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数值算法/人工智能 压缩解压

文件名称:winFM

介绍说明--下载内容来自于网络,使用问题请自行百度

附件实现huffman数据压缩的基本实现,不具备通用性.但是却是一个成品,用MFC经过包装界面也比较可以,可以让大家参考,

再着说明下文件压缩后的格式:扩展名是".fm",文件头两个字节是字母"FM"(用来检验文件格式),然后是原始文件名的长度,再来是原始文件长度(解码的时候判断解码结素),接着是原始文件名,再来是是256个unsigned long的数据表示原始文件每个字母出现的次数(用来重新建立huffman树),最后就是数据了,也就是编码后的数据.

注意几点是,解码要是.fm的文件才可以,如果输出文件名是NULL,则自动填写文件名,如:a.txt压缩后生成a.fm.

为了遍历huffman树写了个栈,只所以这么麻烦是考虑效率以非第归形式遍历huffman树.-Annex to achieve data compression huffman basically, do not have the versatility. But it is a finished product through the packaging interface with MFC

Comparison also can make your reference,

  Then the descr iption of the file compression format: extension is ". Fm", documents the first two bytes are the letters "FM" (used to test file

Format), then the original file name length, the length of the original file again (decoding, decode statement to determine factors), followed by the original

File name, again yes yes 256 unsigned long data indicated that the original document number of occurrences of each letter (to re-establish

huffman tree), and finally the data that is encoded data.

  Note that a few points, decoding if the. Fm files can, if the output file name is NULL, then automatically fill in file name,

Such as: a.txt compression generated a.fm.

In order to traverse the huffman tree wrote a stack, so only the efficiency of such problems is to consider the fo
(系统自动生成,下载前可以参看下载内容)

下载文件列表

winFM.exe
winFM/Huffman.cpp
winFM/huffman.h
winFM/LoadBmp.cpp
winFM/LoadBmp.h
winFM/MyButton.cpp
winFM/MyButton.h
winFM/ReadMe.txt
winFM/resource.h
winFM/stack.cpp
winFM/stack.h
winFM/StdAfx.cpp
winFM/StdAfx.h
winFM/winFM.aps
winFM/winFM.clw
winFM/winFM.cpp
winFM/winFM.dsp
winFM/winFM.dsw
winFM/winFM.h
winFM/winFM.ncb
winFM/winFM.opt
winFM/winFM.plg
winFM/winFM.rc
winFM/winFMDlg.cpp
winFM/winFMDlg.h
winFM/res/button.bmp
winFM/res/winFM.ico
winFM/res/winFM.rc2
winFM/res
winFM

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com