Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.22 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.22 KB

File Zipper

Screenshot (26)

How to run this program?

  • Step 1: Download the folder in your computer.

  • Step 2: Open terminal within the folder.

  • Step 3: To compress the text file, enter the following in the terminal: > g++ encode.cpp huffman.cpp -o main > ./main inputFile.txt compressedFile.huf

  • Step 4: To decompress the compressed file, enter the following in the terminal > g++ decode.cpp huffman.cpp -o main > ./main compressedFile.huf outputFile.txt

  • The following diagram shows a pictorial representation of commmands in the terminal: Screenshot (30)

Input file before compression:

Screenshot (31)

Compressed File

Screenshot (29)