Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 464 Bytes

File metadata and controls

6 lines (5 loc) · 464 Bytes

FileCompressor

A text file compressor using Huffman Encoding and File Handling in C++

sample.txt is currently just a sample file which if kept in same directory as the main.cpp file will be compressed. createCompressedFile.cpp is a file which contains function to create a huffman tree and accordingly create a compressed file and a hashmap which stores huffman codes. RecreateOriginalFile.cpp will recreate the original file using hashmap and compressed file.