This project implements Huffman coding for file compression and decompression.
To use this program, first compile the source files:
gcc -o coding coding.c
gcc -o decoding decoding.cRun the coding program with the filename you want to encode as an argument:
./coding fileToCode.txtThis will generate output files that help illustrate the Huffman coding process.
Run the decoding program with the encoded filename as an argument:
./decoding encodedFile- The encoding process creates auxiliary files that demonstrate the Huffman coding steps.
- For decoding, only files with the extensions .codeTable, .huffman, and .bytes are required.