|
From: carlos D. M. <cg...@wo...> - 2002-04-29 16:05:06
|
include sstream and string, etc using namespace std; (o)stringstream ostri; string cadena = "wekrkrk rjgjtgtkh\nefrjjf"; ostri << cadena; (ostri.str(cadena) this line was a trial which did not work) cout << ostri.str(); return The output: nothing at all. With debugger I see that ostri has loaded in it the string cadena, but the output doesn't happen. This works in Borland and cygwin, but in mingw32 with dev I don't find the way. I upgraded a couple of months ago the compiler, for installing allegro. It neither work if I substitute with the sstream from cygwin or from Borland C++ 5.5 (the free one) |