1
In order to be able to create tt(fstream) objects, the header file
2
tt(fstream) must be included. Files to read are accessed through
3
tt(ifstream) objects, files to write are accessed through tt(ofstream) objects.
4
Files may be accessed for reading and writing as well. The general tt(fstream)
5
object is used for that purpose.
7
String stream objects can be used to read or write objects to streams in
8
memory, allowing the use of, e.g., the insertion and extraction operators on
9
these objects. To use the string stream objects tt(istrstream, ostrstream) or
10
tt(strstream) the header file tt(strstream) must be included. Note that a
11
tt(strstream) object is not a tt(string) object. A tt(strstream) object should
12
be approached like a tt(fstream) object, not as a tt(char *) object having
13
special characteristics.