Assignment3 (1)
Assignment3 (1)
Assignment 3
(100 points)
Due date: March 24th, 2025
In assignment 3, you are provided with main.c, course.h, student.h, and an example text file
courseInfo.txt.
Functionality of main.c
In main.c, it contains the general functionality of the assignment. You will read in the formatted
text file, store the information in data structures defined in course.h and student.h, and write out
student information to a formatted output file “studentInfo.txt”.
int main(int argc, char** argv)
{
readCourseInfoFrom("courseInfo.txt");
writeStudentInfoTo("studentInfo.txt");
cleanup();
return 0;
}
You may feel the trouble managing the parallel arrays. We will update to using structure in our
next assignment.