Huffman-Compression icon indicating copy to clipboard operation
Huffman-Compression copied to clipboard

C++ program to compress any file using the standard Huffman encoding algorithm

Huffman

Takes input and provides compressed output via the Huffman encoding algorithm.

To build: - Open a terminal - Go to folder with files & makefile - type "make" To run: - In terminal - to compress - type: huffman < notcompressed.txt > compressed.txt - to decompress - type: huffman -d < compressed.txt > decompressed.txt

example:

$ huffman < Huckleberry.txt > Huckleberry_compressed.txt