title: codeblocks shows error: This file requires support for the ISO C++ 2011 standard
body: <p>I want to use poisson_distribution template in my C++ code (included in random header), but cant find a way to compile it without error</p>
  
  <p>My codeblocks shows an error</p>
  
  <blockquote>
    <p>This file requires compiler and library support for the \
    ISO C++ 2011 standard. This support is currently experimental, and must be \
    enabled with the -std=c++11 or -std=gnu++11 compiler options.</p>
  </blockquote>
  
  <p>I remember while installing codeblocks I installed only gnu c/c++ compiler. Can anyone explain me how to update my compiler to standard <code>ISO C++ 2011</code> standard or suggest an alternative.</p>
  
  <p>Thanks in advance...</p>