home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH10 / A101211.TXT < prev    next >
Encoding:
Text File  |  1993-09-24  |  526 b   |  9 lines

  1. The three classes List, ListIter, and PhoneNum are defined in one
  2. header file.  They make up the linked list that is in a PhoneBk
  3. object.  You could modify the classes List and ListIter to provide
  4. linked lists for other applications.  To do this you would simply
  5. define the data member "first" to be a pointer to an object of a
  6. different type, and adjust the arguments of the member function
  7. insert().  For simplicity, the definition of List that is shown
  8. here is meant to be used specifically with the PhoneBk class.
  9.