没有合适的资源?快使用搜索试试~ 我知道了~
哈弗曼编码
共36个文件
h:6个
cpp:4个
obj:4个
需积分: 0 4 下载量 32 浏览量
2012-12-05
11:19:42
上传
评论
收藏 8.6MB RAR 举报
温馨提示
哈弗曼 压缩 解压 对话框资源 Huffman::Huffman() { for(int i = 0;i<256;i++) //初始化哈弗曼树 { T[i].value = i; T[i].weight = 0; T[i].lchild = 0; T[i].rchild = 0; T[i].parent = 0; } } Huffman::~Huffman() { delete []heap; delete []z; } void Huffman::GetWeight(CString name) { ifstream file; file.open(name,ios::in|ios::binary); char ch; while(file.get(ch)) //每次取8位字节 { T[(int)ch+128].weight++; //将-127~+127 转换成 0~255 统计权值 } }
资源推荐
资源详情
资源评论
收起资源包目录
哈弗曼.rar (36个子文件)
哈弗曼
哈弗曼.ncb 18.38MB
哈弗曼
Huffman.h 1KB
stdafx.cpp 137B
res
My.rc2 358B
哈弗曼.ico 21KB
stdafx.h 2KB
LinkedQueue.h 1KB
哈弗曼.rc 5KB
哈弗曼.cpp 2KB
Encolding.txt 71KB
example.txt 74KB
Encolding.haf 59KB
Huffman.cpp 10KB
哈弗曼.aps 57KB
resource.h 954B
哈弗曼.vcproj.lenovo-THINK.lenovo.user 1KB
哈弗曼.vcproj 6KB
哈弗曼Dlg.cpp 5KB
哈弗曼.h 441B
哈弗曼Dlg.h 966B
Debug
Huffman.obj 65KB
stdafx.obj 259KB
BuildLog.htm 10KB
哈弗曼.res 23KB
哈弗曼Dlg.obj 64KB
哈弗曼.exe.intermediate.manifest 884B
哈弗曼.obj 20KB
哈弗曼.exe.embed.manifest 936B
哈弗曼.exe.embed.manifest.res 1000B
mt.dep 65B
vc80.pdb 812KB
vc80.idb 803KB
哈弗曼.pch 12.81MB
ReadMe.txt 3KB
哈弗曼.suo 25KB
哈弗曼.sln 892B
共 36 条
- 1
资源评论
TANGLynn
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功