home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH05 / A05126.TXT < prev    next >
Encoding:
Text File  |  1993-11-23  |  382 b   |  7 lines

  1. The class you see is one of many possible implementations of
  2. fractions.  The type of data members "num" and "denom" could be
  3. changed to long integers to allow a larger range of possible
  4. values.  The objects of this class may be improper fractions such
  5. as 5/4.  You could change this class so that such improper
  6. fractions could be represented as a whole number and a fraction.
  7.