Huffman Encoding and decoding.
Please use command below for compressing.
> huffmanCoding filenamw_for_compress filename_after_compress
Use command below for decompressing.
> huffmanDecoding compressed_filename filename_after_decompressing
You can just type the exe filename for help.
> huffmanCoding
or
> huffmanDecoding
Please use command below for compiling.
Compile huffmanCoding:
> g++ huffmanCoding.cpp huffman.cpp -o huffmanCoding
Compile huffmanDecoding:
> g++ huffmanDecoding.cpp huffman.cpp -o huffmanDecoding
To store huffman informations, when compreessing small file, the resulting file might larger than origin file.