From -4068830397643785464
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,dafbff8298483cc7
X-Google-Attributes: gidf78e5,public
From: Jerry Coffin <jcoffin@taeus.com>
Subject: Re: String Streams
Date: 2000/02/23
Message-ID: <MPG.131bc84591ba2d81989682@news.mindspring.com>#1/1
X-Deja-AN: 588446791
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <MPG.131aaad04385bc549897ac@news.mindspring.com>
X-Server-Date: 22 Feb 2000 05:10:47 GMT
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 951237307 mail2news:15216 mail2news mail2news.demon.co.uk
Organization: TAEUS
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Newsgroups: comp.std.c++

In article <MPG.131aaad04385bc549897ac@news.mindspring.com>, DaveH47
@mindspring.com says...
> I'm getting conflicting info: Which is the correct header for ANSI 
> compliant String streams, <sstream> or <strstream>?

Both -- the primary one to use is sstream, but strstream is still 
included for backward compatibility.  If you have existing code that 
uses strstream, rewriting it probably shouldn't be your top priority, 
but if you're writing new code, you probably want to sstream instead.

-- 
    Later,
    Jerry.
 
The universe is a figment of its own imagination.

---
[ 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              ]




