[Assignment #12 Templates and STL]

 

Modify your program for assignment #11 to meet the following requirements;

 

-      Use STL container class library ¡°set¡± STL instead of ShapeSet classsuch as ¡°set<Shape*> shapes¡±

-      Use iterator

-      All the functions defined in assignments #11 should be included.

-      Implement exception handler for the case where the number of shapes (numShapes) exceeds maximum number of shapes (maxShape), using try and catch.

 

Oral Test: June 7.