I have this object:
istringstream ob_stream;
I need to convert this object to string and char array for work. How to do?
I have this object:
istringstream ob_stream;
I need to convert this object to string and char array for work. How to do?
For a std::string
:
ob_stream.str();
for a char
array:
ob_stream.str().c_str();