home *** CD-ROM | disk | FTP | other *** search
- Four constructors are defined for the Fraction class. The first
- is a user-defined default constructor. It creates a Fraction
- with the initial value of 0/1. The second constructor has two
- integer arguments. The second argument is optional. It can
- convert an integer to a Fraction, or construct a Fraction from a
- specified numerator and denominator. The third constructor
- converts a floating point value to a fraction. The forth
- constructor makes a copy of another Fraction object.
-