Object Oriented Programming and Design with C++ Dr. Aaron Naiman
Course #15001301 <naiman@math.jct.ac.il>
Spring, 2006 Office hours: Monday, 13:30-14:30

Exercise Set #6


Add to your class a static member for keeping track of the number of objects in your program. Do not forget to define view and modify static member functions for it. (Hmm, where should they go?) Add a menu option to main() to allow viewing the number of objects.

Also, implement your constructors using member initialization lists.