• 大小: 16.81MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-20
  • 语言: C/C++
  • 标签: huffman  

资源简介

自己写的自适应哈夫曼编码,备份用。有需要的拿,也可以从文章里复制。

资源截图

代码片段和文件信息

// adaptiveHuffman.cpp : 定义控制台应用程序的入口点。
//

#include “stdafx.h“


int main()
{
HuffmanTree huff;
huff.ReadFile(“.\\iHaveADream.txt“);
huff.encode(“.\\iHaveADream_output.txt“);
    return 0;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-20 04:45  adaptiveHuffman\
     目录           0  2018-05-19 02:35  adaptiveHuffman\.vs\
     目录           0  2018-05-19 02:35  adaptiveHuffman\.vs\adaptiveHuffman\
     目录           0  2018-05-19 02:35  adaptiveHuffman\.vs\adaptiveHuffman\v14\
     文件       41472  2018-05-20 04:45  adaptiveHuffman\.vs\adaptiveHuffman\v14\.suo
     目录           0  2018-05-20 04:25  adaptiveHuffman\Debug\
     文件      186880  2018-05-20 04:31  adaptiveHuffman\Debug\adaptiveHuffman.exe
     文件      845732  2018-05-20 04:31  adaptiveHuffman\Debug\adaptiveHuffman.ilk
     文件     2314240  2018-05-20 04:31  adaptiveHuffman\Debug\adaptiveHuffman.pdb
     目录           0  2018-05-20 04:29  adaptiveHuffman\adaptiveHuffman\
     目录           0  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\
     文件        1154  2018-05-20 02:35  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.Build.CppClean.log
     文件        1644  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.log
     文件        7335  2018-05-20 04:25  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.obj
     文件    21823488  2018-05-20 03:26  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.pch
     目录           0  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\
     文件        2356  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\CL.command.1.tlog
     文件       18574  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\CL.read.1.tlog
     文件        2570  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\CL.write.1.tlog
     文件         165  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\adaptiveHuffman.lastbuildstate
     文件        1698  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\link.command.1.tlog
     文件        4382  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\link.read.1.tlog
     文件         778  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\adaptiveHuffman.tlog\link.write.1.tlog
     文件      670378  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\huffmanTree.obj
     文件      673419  2018-05-19 17:25  adaptiveHuffman\adaptiveHuffman\Debug\huffmantree.obj.enc
     文件       53933  2018-05-20 03:26  adaptiveHuffman\adaptiveHuffman\Debug\stdafx.obj
     文件      502784  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\vc140.idb
     文件      692224  2018-05-20 04:31  adaptiveHuffman\adaptiveHuffman\Debug\vc140.pdb
     文件        1566  2018-05-19 02:35  adaptiveHuffman\adaptiveHuffman\ReadMe.txt
     文件         224  2018-05-20 04:25  adaptiveHuffman\adaptiveHuffman\adaptiveHuffman.cpp
     文件        8140  2018-05-19 05:49  adaptiveHuffman\adaptiveHuffman\adaptiveHuffman.vcxproj
............此处省略15个文件信息

评论

共有 条评论