First page Back Continue Last page Graphics
Streams and Buffers
A “Stream Of Bytes”.
A stream acts as an intermediary between the program and the stream's source or destination.
Managing Input
- Associating a stream with an input to a program.
- Connecting the stream to a file.
I.E. an input stream needs connections AT BOTH ENDS. Fig 17.1