Code Migration from AIX(XL C) to Red Hat 7.3 (GCC 4.0.1)
John Love-Jensen
eljay@adobe.com
Mon Oct 24 16:54:00 GMT 2005
Hi Bhaskar,
> One of the errors I encountered was :
> <filename>.cc:64:23: error: strstream.h: No such file
> or directory
strstream.h is not part of C++. (Some early pre-standard C++
implementations included strstream.h, but it was cut from by the committee
in favor of stringstreams.)
Use <sstream> instead.
Keep in mind that you won't need the ends manipulator, and you won't have to
manage the memory of the stream's backingstore like you had to do with
<strstream.h>.
HTH,
--Eljay
More information about the Gcc-help
mailing list