title: Replacing all instances of one ascii character with another in c++?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2896600/how-to-replace-all-occurrences-of-a-character-in-string">How to replace all occurrences of a character in string?</a>  </p>
  </blockquote>
  
  
  
  <p>E.g, I have a string, "Hello World" and I want to replace all the "l"s with "1"s. How would I do this? I am new to c++. Most of my background is in Python in which you could just use the .replace method.</p>