Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 580 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 580 Bytes

text-compression

Lossless Text Compression

Usage

Run make to build the program. This will create an executable named exe.

Call ./exe [filename] [-d/-c] [output filename] to run program.

filename is the name of the ASCII text file you want to compress or decompress
-c to compress, -d to decompress (must be a previously compressed file)
output filename is the name you want to give to the output file

Eg.
./exe harrypotter.txt -c compressedharrypotter
./exe compressedharrypotter.txt -d harrypotter