home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH09 / A094121.TXT < prev    next >
Encoding:
Text File  |  1993-10-28  |  399 b   |  8 lines

  1. This is the declaration of a friend function that overloads the
  2. postfix increment operator for the Fraction class.  Notice that
  3. the function has two explicit arguments.  The first argument is
  4. the Fraction object to be incremented.  The second argument must
  5. be an integer.  The integer argument must be present to
  6. distinguish the postfix increment operator from the prefix
  7. increment operator.
  8.