home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08125.TXT < prev    next >
Encoding:
Text File  |  1993-09-15  |  337 b   |  7 lines

  1. The List class has one iterator:  the function next().  The List
  2. class also includes the member function gototop().  The PhoneBk
  3. class must call gototop() before every traversal of the list to
  4. ensure that the iterator starts at the first element.  The data
  5. member "current" must also be shared by all routines using the
  6. container.
  7.