close menu
building a huffman tree

Huffman Coding


githubGithub

What is this?

This is a C++ implementation of the Huffman Coding lossless compression algorithm, using the standard library, written as a project for my grade 12 computer science course.

Usage

The syntax of this programme was inspired by GNU tar's basic useage commands.

To compress a text file:

huffpuff -c <in.txt> [out.bin]

To extract a file (not fully implemented):

huffpuff -x <in.bin> [out.txt]

For help:

huffpuff -h

License

This project is distributed under the GNU General Public License version 3.