最佳答案
I am very new to the C++ STL, so this may be trivial. I have a ostream
variable with some text in it.
ostream* pout;
(*pout) << "Some Text";
Is there a way to extract the stream and store it in a string of type char*
?