Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

ka-iden/Huffman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

I have moved to Codeberg. Repo has moved here.
Repo has been archived not because I won't touch it, but this also does not
mean I will come back to this project any time soon, only that I want to
avoid GitHub unless I need it, such as for contributions to other's projects.

Huffman

A C++ compression and decompression program that uses Huffman Coding.
For a final high school project, but now I'm rewriting it for fun.

Caution

This project is currently undergoing a complete rewrite.
Nothing will work at the moment. There's no point in trying to compile.

Building

You can build this on Windows using the included Visual Studio 2022 solution.

Usage

The program will only take in .txt and .huff, the extensions I arbitrarily chose :^)
Usage is very simple and can only be used from the command line, being:

Huffman.exe /path/to/input.extension path/to/output.extension

You can go from .txt to .huff or from .huff to .txt.

Examples

Some examples of the program running is provided in here
They were generated with these two commands:

Huffman.exe input.txt encoded.huff
Huffman.exe encoded.huff output.txt

License

This project is licensed under the MIT License.

About

Huffman coding, compression and decompression

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages