<<< Topics to discuss | Index | I/O operations and Streams, cont. >>> |
Open file
Create object
Associate stream of bytes with it
Close file
Make it no longer available to application
Should always close every file you open
Stream
Bytes flowing into program from input device
Bytes flow out of application to output device
Most streams flow in only one direction
<<< Topics to discuss | Index | I/O operations and Streams, cont. >>> |