/HuffmanCoding

Huffman сompression сode

Primary LanguageC++

HuffmanCoding

Compression of text files by the Huffman algorithm

Encode:

$ g++ encode.cpp -o encode
$ ./encode <input_file>  # 'code' and 'table' will appear in the current directory 

Decode:

$ g++ decode.cpp -o decode
$ ./decode <code> <table> <output_file>