Skip to content

jkawamura/HuffmanCoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Compression

Program Files:

  • Heap.c
  • Heap.h
  • Main.c
  • Node.c
  • Node.h

How to Compile:

make huff

Equivalent to gcc -o huff main.c Heap.c Node.c Tree.c

How to Run:

Compression:

./heap 1 input.txt output.cmp

Where input.txt is any text file using only characters in the ASCII set, and output.cmp is the file the compressed output will be written to.

Decompression:

./heap 2 output.cmp output.txt

Where output.cmp is any compressed file that has been encoded by this program and output.txt is the text file the decompressed output will be written to.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published