nbolton nbolton - 10 months ago 67
C++ Question

How do I convert from stringstream to string in C++?

How do I convert from std::stringstream to std::string in C++?

Do I need to call a method on the string stream?

Answer Source

yourStringStream.str()