From -8312617867927675680
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,dafbff8298483cc7
X-Google-Attributes: gidf78e5,public
From: Dietmar Kuehl <dietmar.kuehl@claas-solutions.de>
Subject: Re: String Streams
Date: 2000/02/25
Message-ID: <8939pm$kg9$1@nnrp1.deja.com>#1/1
X-Deja-AN: 589297964
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <MPG.131aaad04385bc549897ac@news.mindspring.com> <891p6k$g3k$1@pravda.ucr.edu>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Http-User-Agent: Mozilla/4.61 [en] (X11; I; Linux 2.2.10 i586)
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 951399048 mail2news:8977 mail2news mail2news.demon.co.uk
X-Http-Proxy: 1.0 x21.deja.com:80 (Squid/1.1.22) for client 62.154.182.162
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Thu Feb 24 12:56:23 2000 GMT
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Mydeja-Info: XMYDJUIDdietmar_kuehl
Newsgroups: comp.std.c++

Hi,
In article <891p6k$g3k$1@pravda.ucr.edu>,
  Tom Payne <thp@roam-thp2.cs.ucr.edu> wrote:
> The libraries that came with my redhat
>
>   /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
>   gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> seem to include <strstream> but not <sstream>.  Is that normal?

The library currently shipping with gcc does not yet address standard
conformance very well. In particular, the IOStreams in this library
are not yet updated to use the standard interface. There is currently
a rewrite of this library in progress (see
<http://sourceware.cygnus.com/libstdc++/>) but it is apparently not yet
done.

Until this library gets released, you can augment your current library
with the stuff found at
<ftp://ftp.fmi.uni-konstanz.de/pub/algo/personal/kuehl/sstream-egcs.tgz>
to add typically needed stuff from the header <sstream> to the current
library. This extends the existing library. You might also want to try
one of the other implementations of the standard C++ library, eg. the
SGI Implementation (<http://www.sgi.com/Technology/STL/>) probably in
the form of STLPort (sorry, I don't have an URL for this handy, or my
implementation (<http://www.claas-solutions.de/cxxrt/>).
--
<mailto:dietmar.kuehl@claas-solutions.de>
homepage: <http://www.informatik.uni-konstanz.de/~kuehl>


Sent via Deja.com http://www.deja.com/
Before you buy.

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




