home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH11 / A11175.TXT < prev    next >
Encoding:
Text File  |  1993-08-04  |  506 b   |  9 lines

  1. Because an output operator returns a stream, the result of one
  2. output operator can become the first operand of another output
  3. operator.  In this example, the first output operator places the
  4. string literal "Here is an integer" in the stream cout and returns
  5. the modified stream.  The second output operator takes this
  6. modified stream as its first operand and the integer i as its
  7. second operand.  It returns a modified stream that acts as the
  8. first operand of the third output operator, and so on.
  9.