Please complete the compress.c compression section of the program in C,

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter9: Completing The Basics
Section9.3: The String Class
Problem 7E
icon
Related questions
Question
please answer within 30 minutes.
Please complete the compress.c compression section of the program in C, run
length encoding.
Do not use header files likes
#include <ctype.h>
#include <ncurses.h>
#include <errno.h>, we cannot use these header files
compress.c
**********
* Function Prototypes For Choice 2: Compress the files that are > 1mb
*
inputs:
outputs:
********/
******
*
*******
*************************************************************************
******/
void compress() {
}
main.c
#include
#include
#include
#include
/* Modules import */
#include "utils.h"
#include "database.h"
int main() {
readDatabase();
verifyFile();
printMenu();
readChoice();
return 0;
}
Transcribed Image Text:Please complete the compress.c compression section of the program in C, run length encoding. Do not use header files likes #include <ctype.h> #include <ncurses.h> #include <errno.h>, we cannot use these header files compress.c ********** * Function Prototypes For Choice 2: Compress the files that are > 1mb * inputs: outputs: ********/ ****** * ******* ************************************************************************* ******/ void compress() { } main.c #include #include #include #include /* Modules import */ #include "utils.h" #include "database.h" int main() { readDatabase(); verifyFile(); printMenu(); readChoice(); return 0; }
Expert Solution
steps

Step by step

Solved in 5 steps with 4 images

Blurred answer
Knowledge Booster
Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr