home *** CD-ROM | disk | FTP | other *** search
- Because an output operator returns a stream, the result of one
- output operator can become the first operand of another output
- operator. In this example, the first output operator places the
- string literal "Here is an integer" in the stream cout and returns
- the modified stream. The second output operator takes this
- modified stream as its first operand and the integer i as its
- second operand. It returns a modified stream that acts as the
- first operand of the third output operator, and so on.
-