home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A062021.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  294 b   |  6 lines

  1. This is a member function of the Fraction class that inverts a
  2. Fraction object.  The function invert() sets the value of a
  3. Fraction to its reciprocal.  For example, 2/3 becomes 3/2.  The
  4. return value of the function invert() is of type Fraction.  The
  5. function returns the modified object.
  6.