erasing a strstream

Martin Wiebusch marwie at gmx.net
Fri Feb 18 16:29:00 GMT 2000


Hi,
is there a method to erase all data that has been written to a strstream
object?
I already tried to create and destroy the string object dynamically, but
I got problems with that, too. Using

  s = new strstream();

just produces a string with unpredictable content and

  s = new strstream("", 0);

trying to create an empty string first doesnt work too, because the
string keeps empty regardless to what I'm writing into it. Help!




More information about the KDevelop mailing list