Question: Part 3 - main.cpp Have your main function do the following. This main is mainly testing all the functionalities we just programmed above.: Create a

 Part 3 - main.cpp Have your main function do the following.
This main is mainly testing all the functionalities we just programmed above.:
Create a catalog Add a course to a catalog Display all the

Part 3 - main.cpp Have your main function do the following. This main is mainly testing all the functionalities we just programmed above.: Create a catalog Add a course to a catalog Display all the courses Add 4 more courses (one should fail, try to use different course prefixesumbers and section numbers) Display all the courses Remove a course for the list Display all the courses View all the courses of a prefix that's present in your list View all sections of a course that's present in your list Change the instructor of one of the courses Display all the courses Add multiple students to a course (some successful, some not) Display the students (all info) in the course Part 2 - Catalog The Catalog is a list of all the Courses being offered by institutions. It can also perform various functions such as adding classes to the list viewing lists of courses, changing instructors, and adding/removing/viewing students from courses. Variables courses - a vector containing a list of all the courses SORTED by Course Prefix, then number, then section number Ignore the new_attribute line. That is something with umbrello that I could not fix at the time of uploading this. Functions Catalog - Default Constructor add_course - Adds the course to the list of courses, if the list is not already listed (a course with the same course prefix, course number, and section number). The list of courses must stay sorted Functions Catalog - Default Constructor add_course - Adds the course to the list of courses, if the list is not already listed (a course with the same course prefix, course number, and section number). The list of courses must stay sorted remove_course - Removes the course from the list of Courses. If no course present, nothing happens view_all_courses - View all courses in the list (do not show the list of students) view_all_courses_of_prefix - view all courses in the list that have the prefix, such as only show CSE courses (do not show the list of students) view_all_sections_of_course - View all sections in the list of a course, such as only show sections of CSE 1325 (do not show the list of students) change_instructor-change the instructor of a course add_student - adds the student id to the list of student ids for that course. If course is not present, nothing happens. If student is already enrolled in course, do not add the student remove_student - removes the student id from the list of student ids from the course. If course is not present, nothing happens. view_students_in_course - shows all information about a course, including the list of students . Part 3 - main.cpp Have your main function do the following. This main is mainly testing all the functionalities we just programmed above.: Create a catalog Add a course to a catalog Display all the courses Add 4 more courses (one should fail, try to use different course prefixesumbers and section numbers) Display all the courses Remove a course for the list Display all the courses View all the courses of a prefix that's present in your list View all sections of a course that's present in your list Change the instructor of one of the courses Display all the courses Add multiple students to a course (some successful, some not) Display the students (all info) in the course Part 2 - Catalog The Catalog is a list of all the Courses being offered by institutions. It can also perform various functions such as adding classes to the list viewing lists of courses, changing instructors, and adding/removing/viewing students from courses. Variables courses - a vector containing a list of all the courses SORTED by Course Prefix, then number, then section number Ignore the new_attribute line. That is something with umbrello that I could not fix at the time of uploading this. Functions Catalog - Default Constructor add_course - Adds the course to the list of courses, if the list is not already listed (a course with the same course prefix, course number, and section number). The list of courses must stay sorted Functions Catalog - Default Constructor add_course - Adds the course to the list of courses, if the list is not already listed (a course with the same course prefix, course number, and section number). The list of courses must stay sorted remove_course - Removes the course from the list of Courses. If no course present, nothing happens view_all_courses - View all courses in the list (do not show the list of students) view_all_courses_of_prefix - view all courses in the list that have the prefix, such as only show CSE courses (do not show the list of students) view_all_sections_of_course - View all sections in the list of a course, such as only show sections of CSE 1325 (do not show the list of students) change_instructor-change the instructor of a course add_student - adds the student id to the list of student ids for that course. If course is not present, nothing happens. If student is already enrolled in course, do not add the student remove_student - removes the student id from the list of student ids from the course. If course is not present, nothing happens. view_students_in_course - shows all information about a course, including the list of students

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!