Skip to content

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

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages