Skip to content

Implementation of the Huffman algorithm to compress files

Notifications You must be signed in to change notification settings

maximino-dev/Huffman-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b745093 · Apr 1, 2021

History

6 Commits
Apr 1, 2021
Apr 1, 2021
Apr 1, 2021
Apr 1, 2021
Apr 1, 2021
Apr 1, 2021
Apr 1, 2021

Repository files navigation

Huffman Algorithm

This is a little implementation of the Huffman code, I did it for fun so the code is not very optimized and it doesn't work for image files yet.

Run

You can try running the code with a text file

echo "this is the test" >> test.txt

Then compile all the files using the command "make" and run the new binary file created

make ./exec c test.txt

A file called compressed.bin is created, to decompress this file, use

./exec d compressed.bin

To learn more about the Huffman code

About

Implementation of the Huffman algorithm to compress files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published