Skip to content

This repo includes a program in C that uses Huffman Coding in order to produce codes for the characters of a given file in English. It is case insensitive and counts continuous spaces as one.

License

Notifications You must be signed in to change notification settings

chriskarydis/Huffman-Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman-Coding

This repo includes a program in C that uses Huffman Coding in order to produce codes for the characters of a given file in English. It is case insensitive and counts continuous spaces as one. Also it is calculating the entropy, the average code length and the efficiency of the coding.

Compile and Run Commands

To run the file, execute the following commands in the terminal:

gcc Huffman.c -o Huffman

.\Huffman

When you run the program, you will be prompted to enter the name of the file to be used.

About

This repo includes a program in C that uses Huffman Coding in order to produce codes for the characters of a given file in English. It is case insensitive and counts continuous spaces as one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages