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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started