title: itoa replace to std::to_string how to
body: <p>How can i replace this      </p>
  
  <pre><code>    itoa(i, buf, 10);
      key1.append(buf);
      key2.append(buf);
      key3.append(buf);
  </code></pre>
  
  <p>with <code>std::to_string</code></p>
  
  <p>itoa was giving me an error it was not declared in scope that its not part of standard</p>
  
  <p>I heard i can use <code>std::to_string</code> to make another version of it how do i do this?</p>