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 courseInfo structure has been defined as follow: struct courseInfo int courseID char courseName [30] Write a complete, well documented C program that will be able to: a. b. c. d. e. f. Add a new student Delete a student and all information related to that student Search for a student and their information Display a list of current students Save student information to file Load student information from file Assignment Description: You are provided with a data file called "studentRecords.txt" that has the data for a number of students. You are required to read this data from the input file into a sorted linked list data structure. The linked list must be sorted based on the Student ID. The sample input file will end with a line that has three stars. An example of an input file with two fictional students is: studentList.txt 23456770, Mina, Porter,3,ENEE,114.CMSC,412,ENME 515 23456790, Alex,Simpson, 1.CMSC,412 For each student, the data file is formatted in the following manner:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
