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

  1. Because all the member functions have a similar structure, only
  2. the function lookup() is described here.  This function takes a
  3. single argument "who".  If there is an item in the List object
  4. that has a name field that equals the value of "who", lookup()
  5. returns the telephone number field of that item.  Otherwise,
  6. lookup() returns 0.
  7.