Skip to content

SYFT/Huffman

Repository files navigation

Huffman

Huffman Encoding and decoding.


Usage:

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

Compile:

Please use command below for compiling.
Compile huffmanCoding:
> g++ huffmanCoding.cpp huffman.cpp -o huffmanCoding
Compile huffmanDecoding:
> g++ huffmanDecoding.cpp huffman.cpp -o huffmanDecoding

Penalty:

To store huffman informations, when compreessing small file, the resulting file might larger than origin file.

About

Huffman Encoding and decoding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages