Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

its all the same question Ex 2. Student Class Data members: - student_name as string. - student no as int. - number_of_courses as integer which

its all the same question image text in transcribed
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 (StudentMarks * c) which set the courses information using the received array c. - Void delete_all_courses0, 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

25 Vba Macros For Data Analysis In Microsoft Excel

Authors: Klemens Nguyen

1st Edition

B0CNSXYMTC, 979-8868455629

More Books

Students also viewed these Databases questions