CS211 Homework 6 Solved

Original price was: $40.00.Current price is: $35.00.



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.

Due Date: November 28