A C++ compression and decompression program that uses Huffman Coding.
For a final high school project, but now I'm rewriting it for fun.
Caution
This project is currently undergoing a complete rewrite.
Nothing will work at the moment. There's no point in trying to compile.
You can build this on Windows using the included Visual Studio 2022 solution.
The program will only take in .txt
and .huff
, the extensions I arbitrarily chose :^)
Usage is very simple and can only be used from the command line, being:
Huffman.exe /path/to/input.extension path/to/output.extension
You can go from .txt
to .huff
or from .huff
to .txt
.
Some examples of the program running is provided in here
They were generated with these two commands:
Huffman.exe input.txt encoded.huff
Huffman.exe encoded.huff output.txt
This project is licensed under the MIT License.