Huffman Encoder & Decoder.
Encoder.cpp converts input.txt to huffman_code.hbs(ASCII to binary). Decoder.cpp converts binary file to output.txt which is original file(input.txt).
How to test.
- Create any input.txt file and compile encoder.cpp. It will create Huffman_table.hbs & Huffman_code.hbs
- Compile decoder.cpp, and it will create output.txt.
- You can check whether input.txt and output.txt are same or not.
by Akgop/ Kwanwoon Univ.