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

  1. A Fraction object cannot have a denominator equal to 0. Whenever
  2. an attempt is made to create such a Fraction, a Fraction with the
  3. value 0/1 is created instead.  The implementation of this class
  4. could be changed to throw an exception or to handle a zero
  5. denominator in some other way.
  6.