Mail Archives: djgpp/1999/03/11/19:20:33
Bernd König wrote:
>
> Hi,
> i found a problem with the ostrstream class. Somewhere in my program i
> create and remove an ostrstream object many times (i.e. endless). It looks
> like this:
>
> ...
> ostrstream wandler;
> wandler << 10.0 << ends;
> ...
>
> when running the program the system begins to swap until the error message:
> Virtual memory exceeded in 'new'. It only happens if the command ' wandler
> << 10.0 << ends; ' is included. Is it a bug in the c++ library of djgpp? I'm
> thankful for your help.
I think a complete, compilable example is in order here. Also, make
sure you have the latest compiler and libstdcxx (2.8.1).
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -