Search code examples
c++c++11c++14dev-c++

how to enable C++11 or C++14 in Dev C++ IDE


I'm trying to compile this on Dev C++ IDE, but it's showing this error :

error This file requires compiler and library support for the

  ISO C-+ 2011 standard. This support is currently experi Ical, and it be emblem with the -stdest or -stdagno 11 compiler options

Solution

  • Follow these Steps in DevC++.

    Got to Tools -> Compiler Options... -> Settings -> Code Generation

    enter image description here

    In language standard(std), choose -> ISO C++11

    more https://www.geeksforgeeks.org/how-to-fix-auto-keyword-error-in-dev-cpp/