I need a program that compresses and uncompress a file using run length encoding (RLE) in C++. It needs to use 255 as the indicator to show that the run is started. The indicator will be followed by a byte for the length of the run and then a byte for the character to use in the run. Each run requires three bytes of info.
A A A A A A A A A A A A A
255 12 5 5 5 5 5 5 5 5 5 5 5
After compressing or decompressing the file a summary that includes the names of the files, number of bytes read, adn the number of bytes written needs to be displayed. Also after compressing a file, the summary should include the percentage fo output files was compressed. It needs to compress the data and then decompress the data.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
THis needs to be in c++ that will compile on a tel-net csa account.