Question: Program in C: The user of your program will use it to create a list of books they had read, and then your program will

Program in C:

The user of your program will use it to create a list of books they had read, and then your program will create a subset of this list as a favorites list. You will not know how many books the user wishes to include on the list until the program gets its first input. After the user has finished entering all of the books titles, you must prompt the user for a subset of the book titles to put on a favorites list. You must use pointers within this project such that you have one array of char * that contains all of the book titles and an array of char ** for favorites. The third item this program does is ask the user whether or not they want to store a copy of their information in a file on disk. If so, you program will ask for a file name and store the information within the file. Prior to exiting the program, you must free() all dynamically allocated memory.

There must be a main.c file, a getbooks.c file, a getfavorites.c file, and a save.c file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!