CS211 Homework 6 solution

$30.00

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (1 vote)

Modify your Roster class so that it will now store a dynamic array of pointers to Student objects. The Roster is identified by the course name, course code, number of credits, instructor name, and contains a list of students stored in an array of pointers to Students.

The array must have the ability to grow if it reaches the capacity (for that provide a private function grow ()). Modify your functions to add a student to a Roster, delete student from a Roster, and search for a student to reflect the changes.

Overload [] operator to return immutable Student object at a particular location. Include the “big-three” that are needed when there is a dynamic allocation within a class.

Submit your homework to your recitation instructor.