An open API service indexing awesome lists of open source software.

https://github.com/ka-iden/huffman

Huffman coding, compression and decompression
https://github.com/ka-iden/huffman

cpp huffman-coding huffman-compression-algorithm

Last synced: 3 months ago
JSON representation

Huffman coding, compression and decompression

Awesome Lists containing this project

README

        

# UNDER COMPLETE REWRITING. NOTHING WILL WORK ATM. NO POINT TRYING TO COMPILE LMAO
# IGNORE WHAT I WROTE DOWN THERE, I WROTE THAT 6 MONTHS AGO

# Huffman
A C++ compression and decompression program that uses Huffman Coding.

For a final high school project :)

# Building
You can build on windows, no strings attached as always, since I only use a windows computer.

For the same reason, I will not be providing any help in issues that have to do with using mac or linux, as not all the filesystem functions work on all operating systems.

# Usage
The program will only take in `.txt` and `.huff`, the extension I 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](Tests/)

They were generated with these two commands:

`Huffman.exe input.txt encoded.huff`

`Huffman.exe encoded.huff output.txt`

# License
This repo, just like most of my other repos, is licensed under the [MIT License](LICENSE).