This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: <strstream> vs <sstream>


Igor Markov wrote:

  Paolo,

   thanks for the equivalent code,
   but it does not seem to compile either

Sorry for the typo, of course I meant:

#include <sstream>
int main() { std::string buf; std::ostringstream s(buf); }

Ciao, Paolo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]