title: How do you convert an int into a string in c++
body: <p>I want to convert an int to a string so can cout it.  This code is not working as expected:</p>
  
  <pre><code>for (int i = 1; i&lt;1000000, i++;)
  { 
      cout &lt;&lt; "testing: " +  i; 
  }
  </code></pre>