Topic: sstream or strstream?


Author: sailorss@wyoming.com (Skip Sailors)
Date: 1998/04/13
Raw View
On 06 Apr 98 17:54:35 GMT, clyde7@geocities.com wrote:

>Hi folks,
>
>what is closer to (or is) the standard: <sstream> or <strstream>?
strstream is deprecated.  sstream is probably better
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: clyde7@geocities.com
Date: 1998/04/06
Raw View
Hi folks,

what is closer to (or is) the standard: <sstream> or <strstream>?
they also have different classes, like ostringstream or ostrstream in the
latter case.

Please reply by e-mail.

Thanks for replying in advance...

Claude

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]





Author: rsailors@wyoming.com (Skip Sailors)
Date: 1998/04/07
Raw View
>On 06 Apr 98 17:54:35 GMT, clyde7@geocities.com wrote:
>what is closer to (or is) the standard: <sstream> or <strstream>?...

Are they not both in the standard? <sstream> for streams of strings
and <strstream> for streams of characters.  Where do you want to go
todya?
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]