home *** CD-ROM | disk | FTP | other *** search
- Constructs such as stacks, lists, sets, and various kinds of
- collections are usually implemented in C++ as container classes.
- Here, the List class is a container class holding an array of
- PhoneNum objects. You can adapt the List class to hold an array
- of objects of a different type by changing the type of the pointer
- "list", and changing the type used with the operator new in the
- constructor. You could use the type void* to make the List class
- more general.
-