Question: Through this assignment, you are going to be maintaining a file of all students and their registered courses to learn the concepts of structures, pointers




Through this assignment, you are going to be maintaining a file of all students and their registered courses to learn the concepts of structures, pointers to structures, dynamic memory allocation and file manipulation. For this, a structure called "studentInfo" with the following member elements should be defined: Student ID - 8 char long First Name - 20 char long Last Name 25 char long Number of Courses Attending - integer Array of courselnfo - a 10 element array of courselnfo elements next Pointer to the next student structure in the list . . where the courseinto structure has been defined as follow: struct courseInfo int courseID; char courseName [30]; rite a complete, well documented C program that will be able to a. Add a new student b. Delete a student and all information related to that student c. Search for a student and their information d. Display a list of current students e. Save student information to file f. Load student information from file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
