home *** CD-ROM | disk | FTP | other *** search
- A container class must be able to access each item in the proper
- order. In the List class, the function next() is an iterator.
- This function sets the position counter "current" to the next
- element in the array "list", or to the first element if the last
- has been passed. An iterator class must know where to start
- iterating through the contained items. Here, the member "list" is
- a pointer to the first element in an array of PhoneNum objects.
-