C++Lec6 Streams and Files
C++Lec6 Streams and Files
1
Stream Classes
A stream is a general name given to a flow of data.
All the flags can be set using the setf() and unsetf() ios
member functions. Look at the following example
ios Formatting Flags
The Error-status Flags
The stream error-status flags constitute an ios enum
member that reports errors that occurred in an input or
output operation.
You can combine two or more of these values by ORing them together.