title: Append an int to a std::string
body: <p>Why is this code gives an Debug Assertion Fail?</p>
  
  <pre><code>   std::string query;
     int ClientID = 666;
     query = "select logged from login where id = ";
     query.append((char *)ClientID);
  </code></pre>