I have a created the following class instances of Doctor called "room" but I am not sure how to delete them, one at a time.
Suggestions?Code:const short maxRooms = 6;
Doctor *room = new Doctor [maxRooms];
delete room[0]; // Does not work?
delete room[1];
