home *** CD-ROM | disk | FTP | other *** search
- The output statements in this loop show what can
- happen if the output operator is a member function.
- Again, the first argument of the Fraction output operator
- has to be a Fraction object. The output operator for
- strings, on the other hand, has an ostream object as
- its first argument. Because the two kinds of output
- operators take different arguments, the output
- statement has to be divided like this.
-