home *** CD-ROM | disk | FTP | other *** search
- An input operator returns a reference to a stream object. Because
- of this, the result of one input operator can become the first
- operand of another input operator. In this example, the first
- input operator extracts characters from cin, places them in i, and
- returns the modified cin stream. This modified cin stream is the
- first operand of the second input operator. The second input
- operator takes characters from the modified stream and places them
- in the floating-point variable f.
-