CS211 Homework 6

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment || To Order Original Work Click Custom Order?

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.