String streams and g++.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


  I have to include <sstream> to use string streams, but the g++ compiler gives
  me the error

    main.cc:15: sstream: No such file or directory

  What is going on?
   
g++ is behind the standard on a couple of things, and string streams is one of
them. If you want to use g++, change "sstream" to "strstream", "istringstream"
to "istrstream", and so on. Or you can use CC.



This archive was generated by hypermail 2.0b3 on Fri Dec 21 2001 - 17:00:04 EST