Answer to Question #122044 in C++ for Joseph konola

Question #122044
Part 1: File Compression and multi-dimensional arrays
Scenario
The file looks the image of an X drawn on a canvas.



If we look at the data in the file, there are a lot of repeated digits present in the file.

Compression Algorithm:


The decompressed data is:

0000110000110000

Objectives
You have to complete the following tasks to successfully complete the assignment.
1. Read the data file data.txt and store its data in a multi-dimentional array
2. Create a file called compressed.txt
3. For every row in the multi-dimensional array
a. Compress the data the file data using compression scheme discussed above
b. Take the compressed line and write it to your compresed.txt file
4. Create a function called decompress. This function should:
a. Read the data from compressed.txt file
b. Decompress it using decompression scheme shown above
1
Expert's answer
2020-06-15T08:03:03-0400
Dear Joseph konola, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS