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

  1. Two member functions are private because they are used only by
  2. other member functions and friend functions of this class.  These
  3. functions are called when a Fraction object is constructed.  The
  4. function reduce() converts a Fraction to its simplest form.  For
  5. example, 9/27 becomes 1/3 and -4/-2 becomes 2/1.
  6.