home *** CD-ROM | disk | FTP | other *** search
- The class you see is one of many possible implementations of
- fractions. The type of data members "num" and "denom" could be
- changed to long integers to allow a larger range of possible
- values. The objects of this class may be improper fractions such
- as 5/4. You could change this class so that such improper
- fractions could be represented as a whole number and a fraction.
-