Question: c++ lang Develop a system for university, which contains students, and each student has a list of courses records. Ex 1. StudentMarks Class Define and

c++ lang
c++ lang Develop a system for university, which contains students, and each
student has a list of courses records. Ex 1. StudentMarks Class Define

Develop a system for university, which contains students, and each student has a list of courses records. Ex 1. StudentMarks Class Define and implement a class StudentMarks as described below: Ex 2. Student Class Data members: - student_name as string. - student.no as int. - number_of_courses as integer which is the number of courses for the student. - student_marks: StudentMarks array which contains all the student course information including marks, its size is the number_of_courses. Function member: - A parameterized constructor that receives: student.name, student.no, number_of_courses. you have to use this pointer. - Copy constructor. The copy must be a deep copy. - Destructor. - void addCourses (StudentCourse * c) which set the courses information using the recelved array c. - Void delete_all_courses(0, that deallocate the old list and make its pointer point at the new list with the same size. - Void print_details 0, that prints all details of a student including the courses and total marks using the function print inside the StudentMarks object. Ex 3. Driver - Create a Student object and fill its information by the user, and define the size of the courses equal to 3. - Create an array of type StudentMarks with size 3. Ask the user to enter the information of the student marks. - Add these records to the student using addCourses function. - Print all information of the student object and the courses including the total mark. - Delete all StudentMarks records using its function - Add one new StudentMark record by the user using AddCourses function. - Print all information of the student object and the courses including the total mark

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!