Compress Text Files Using Huffman Coding Algorithm
-
To run / execute this project :
- Save compress.cpp, decomppress.cpp & Text file u want to compress in same folder.
(Here, sample file input.txt is provided)
- Save compress.cpp, decomppress.cpp & Text file u want to compress in same folder.
- To compress the file run :
g++ compress.cpp
- After that compressed.txt file will be generated.
- To decomppress the file run
g++ decompress.cpp
- You will get the decomppressed.txt file 👍
- this will be your orignal file which u compressed
- Here 86% compression is achieved