Description: First through file operations, read the file content, the characters one by one after extracting character frequency statistics, establish a Huffman tree and Huffman encoding, and, of course, this is according to ASCII code to convert characters to the binary, then realize the prefix encoding, and then the encoded using binary stream into the corresponding files
To Search:
File list (Check if you may need any files):
可执行文件和源代码
..................\hf
..................\..\Debug
..................\..\.....\Encoding.txt
..................\..\.....\Haffcode.txt
..................\..\.....\hf.exe
..................\..\.....\hf.ilk
..................\..\.....\hf.pdb
..................\..\.....\test.hf
..................\..\.....\test.txt
..................\..\hf
..................\..\hf.opensdf
..................\..\hf.sdf
..................\..\hf.sln
..................\..\hf.suo
..................\..\..\9.hf
..................\..\..\9.txt
..................\..\..\Debug
..................\..\..\.....\CL.read.1.tlog
..................\..\..\.....\CL.write.1.tlog
..................\..\..\.....\hf.exe.intermediate.manifest
..................\..\..\.....\hf.lastbuildstate
..................\..\..\.....\hf.log
..................\..\..\.....\hf.vcxprojResolveAssemblyReference.cache
..................\..\..\.....\hf.write.1.tlog
..................\..\..\.....\huffmanMain.obj
..................\..\..\.....\link.read.1.tlog
..................\..\..\.....\link.write.1.tlog
..................\..\..\.....\mt.read.1.tlog
..................\..\..\.....\mt.write.1.tlog
..................\..\..\.....\vc100.idb
..................\..\..\.....\vc100.pdb
..................\..\..\Encoding.txt
..................\..\..\Haffcode.txt
..................\..\..\hf.vcxproj
..................\..\..\hf.vcxproj.filters
..................\..\..\hf.vcxproj.user
..................\..\..\test.txt
..................\..\..\ying.hf
..................\..\..\ying.txt
..................\..\ipch
..................\..\....\hf-30c0c4f7
..................\..\....\...........\hf-37e3145a.ipch
..................\huffmanMain.cpp
..................\huffmanTree.h
..................\textCompare.h
..................\textCompress.h
..................\textPrint.h
..................\textStatistics.h
..................\textUncompress.h