Skip to content

lucafluri/huffman_mada_fhnw

Repository files navigation

Bonus Assignment (Huffman Code) for mada@FHNW in SS19

This program is able to:

  • Read in ASCII text file
  • Create frequency table for the symbols in the file
  • Construct Huffman code from this table
  • Store Huffman table in external file dec_tab.txt
  • Convert read in string into bit string using huffman code
  • Append a 1 and 0s until length is divisible by 8
  • Convert bit string to byte array
  • Store byte array in output.dat
  • Decode from external files and save decoded string in decompress.txt
  • Decode output-mada.dat with dec-mada.txt

Solution by:

  • Luca Fluri
  • Philipp Alder
  • Alejandro Garcia

About

Bonus assignment for mada course SS19

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages