Question: I have included the codes for the assignment . I need help in creating a flowchart out of this . Someone please help . Thank
Prelab: Preliminary C++ source codes Discussion: leading spaces. To save space in noted in the c++ source file, the lines may start with many file are counted saving the file (to compress the file), the leading spaces of each followed by the rest of the the and the count is stored as an integer at the beginning of the line characters the line in the destination file. Example: Source file: source.txt No leading space on line 1 Five leading spaces on line 2 Fourteen leading spaces on line 3 Two leading spaces on line 4 Compressed file: source.zpp ONo leading space on line 1 5Five leading spaces on line 2 14 Fourteen leading spaces on line 3 Two leading spaces on line 4 1. Write a C++ program to compress a C++ source file, store the compressed file in source.zpp and output to the monitor screen the number of space characters eliminated from the original source file. 2. write a C++ program to uncompress the .zpp file previously compressed and store the uncompressed file in source.rcv. Material to be submitted: PostLab: Updated C++ source codes Copy of source.txt, source.zpp, and source.rcv Note: Source.txt and source.rcv must look the same. As always, have the instructor verify that your programs work as intended
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
