Defined Terms
condition state Flags and associated functions usable by any of the stream classes that indicate whether a given stream is usable.
file mode Flags defined by the fstream classes that are specified when opening a file and control how a file can be used.
file stream Stream object that reads or writes a named file. In addition to the normal iostream operations, file streams also define open and close members. The open member takes a string or a C-style character string that names the file to open and an optional open mode argument. The close member closes the file to which the stream is attached. It must be called before another file can be opened.
fstream File stream that reads and writes to the same file. By default fstreams are ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access