title: How do I convert from stringstream to string in C++?
body: <p>How do I convert from <code>std::stringstream</code> to <code>std::string</code> in C++?</p>
  
  <p>Do I need to call a method on the string stream?</p>