title: Is GCC 4.8.1 C++11 complete?
body: <p>OS is windows.</p>
  
  <p>I'll start off by saying that I have no experience with C++, or any other compiled language. I've used CPython a bit and am familiar with that, but, until earlier today, I'd never even glanced at C++ source.</p>
  
  <p>I'm trying to teach myself C++, so I've been playing around with it a bit, and one problem I'm having is the error:</p>
  
  <pre><code>error: 'to_string' was not declared in this scope
  </code></pre>
  
  <p>Apparently, to_string is a C++11 thing, which <em>should</em> be fine. I downloaded the latest MinGW, added it to my path - I have checked, and running</p>
  
  <pre><code>g++ - v
  </code></pre>
  
  <p>does indeed tell me that I have version 4.8.1 installed. The IDE I'm working with, Code::Blocks finds it no problem, but it simply won't use any of the C++11 stuff, giving me errors such as the one above. Things not exclusive to C++11 compile fine.</p>
  
  <p>There is a section under compiler flags to "follow the C++11 language standard", which I have checked, but, even then, I get the same errors. I'm really not sure what's going on - I've looked this up, and all of the suggestions are to update either the IDE or MinGW (both of which are up to date), or to select that flag, which, as I said, is already selected.</p>
  
  <p>Does anyone with more experience with C++ have any idea what might be going on?b</p>