title: How to replace some characters from stringstream in C++?
body: <p>I have a requirement to replace all the carriage returns/ Line feeds from a stringstream in a VC++ Project. I am very new to this and I tried the following:</p>
  
  <pre><code>strCustData.Replace("\r\n","")
  </code></pre>
  
  <p>But this is not working because <code>strCustData</code> is of type stringstream, not string. Please help me out in achieving this.</p>