title: Dev-C++ "to_string is not a member of std" error
body: <p>I have a problem with converting <code>int</code> to <code>string</code> in Dev-C++.</p>
  
  <p>I have the proper <code>#include</code>, but still I get:</p>
  
  <blockquote>
    <p>[Error] 'to_string' is not a member of 'std'</p>
  </blockquote>
  
  <pre><code>const int MAX_KOSZT = 999999;    
  string convert(int val) {
    if (val == MAX_KOSZT) 
    {
      return "--";
    } 
    else {
      if (val &lt; 10) {
        return "0" + std::to_string(val);
      } 
      else {
        return std::to_string(val);
      }
    }
  }
  
  void getCout()
  {
    cout &lt;&lt; convert(sciana) &lt;&lt; "," &lt;&lt; convert(chodnik);
  }
  </code></pre>