title: Converting ostream into standard string
body: <p>I am very new to the C++ STL, so this may be trivial. I have a <code>ostream</code> variable with some text in it.</p>
  
  <pre><code>ostream* pout;
  (*pout) &lt;&lt; "Some Text";
  </code></pre>
  
  <p>Is there a way to extract the stream and store it in a string of type <code>char*</code>?</p>