title: What's the point of including -std=c++0x in a G++ compile command?
body: <p>I have recently started learning C++ and, since I'm on Linux, I'm compiling using G++.</p>
  
  <p>Now, the tutorial I'm following says</p>
  
  <blockquote>
    <p>If you happen to have a Linux or Mac environment with development
    features, you should be able to compile any of the examples directly
    from a terminal just by including C++11 flags in the command for the
    compiler:</p>
  </blockquote>
  
  <p>and tells me to compile using this command: <code>g++ -std=c++0x MY_CODE.cpp -o MY_APP</code>.</p>
  
  <p>Now, what I'm wondering, what is the point of the <code>std=c++0x</code> flag? Is it required, or can I just run <code>g++ MY_CODE.cpp -o MY_APP</code>?</p>