First page Back Continue Last page Overview Graphics
Basic reading/writing algorithms
No matter where the data is coming from or going to and no matter what its type, the algorithms for sequentially reading and writing data are basically the same:
Reading :
- (1) open a stream
- (2) while (more information)
- (2.1) read information
- (3) close the stream