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

  1. This statement calls the member function compare() from the
  2. PhoneNum class with the argument "who".  This function compares
  3. the name field of the item with the value of its argument.  If the
  4. argument equals the name field, compare() returns 0. If the name
  5. field comes before the argument in alphabetical order, compare()
  6. returns a negative value.  If the name field comes after the
  7. argument in alphabetical order, compare() returns a positive
  8. value.
  9.