title: Integer to string in C++
body: <p>I have problem with converting integer to string in C++ using CodeBlocks and GCC Compiler. I tried with this but it eject error:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  
  int main()
  {
      int clicks = 0;
      string code = to_string(clicks); //error: "to_string" was not declared in this scope
  }
  </code></pre>
  
  <p>And also i tried:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  
  int main()
  
  {
      int clicks = 0;
      std::string code = std::to_string(clicks); // error: "to_string" is not memeber of "std"
  
  }
  </code></pre>
  
  <p>Is there any solution? Pls help</p>