#include <strstrea.h>
The istrstream class supports input streams that have character arrays as a source. You must allocate a character array before constructing an istrstream object. You can use istream operators and functions on this character data. A get pointer, working in the attached strstreambuf class, advances as you extract fields from the stream’s array. Use istream::seekg to go backwards. If the get pointer reaches the end of the string (and sets the ios::eof flag), you must call clear before seekg.
Construction/Destruction — Public Members
Constructs an istrstream object.
Destroys an istrstream object.
Other Functions — Public Members
Returns a pointer to the stream’s associated strstreambuf object.
Returns a character array pointer to the string stream’s contents.
See Also strstreambuf, streambuf, strstream, ostrstream