[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string and strstream and setw
From: |
Maurizio Loreti |
Subject: |
Re: string and strstream and setw |
Date: |
22 Feb 2001 08:12:47 +0100 |
address@hidden (Paul Serice) writes:
> I just spent all day struggling with a similar problem, but with
> std::string. I have the latest version g++ out of Debian unstable
> (2.95.3).
>
> Could you give the follow code a quick compile to see if your snapshot
> has this fixed?
>
> The output I get is as follows:
>
> Hello, World!Goodbye, Cruel World!
> Hello, World! Goodbye, Cruel World!
address@hidden 5 $ g++ -v
Reading specs from /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
Configured with: ../gcc-20010205/configure --prefix=/usr/local/gcc
--enable-libstdcxx-v3
gcc version 2.97 20010205 (experimental)
address@hidden 6 $ g++ -ansi -Wall -o foo foo.cxx && ./foo
Hello, World! Goodbye, Cruel World!
Hello, World! Goodbye, Cruel World!
(note that there is no such thing as an official 2.95.3 release).
--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Univ. of Padova, Dept. of Physics - Padova, Italy address@hidden
The instructions said to use Windows 98 or better - so I installed FreeBSD.