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
Follow these Steps in DevC++.
Got to Tools -> Compiler Options... -> Settings -> Code Generation
In language standard(std), choose -> ISO C++11
more https://www.geeksforgeeks.org/how-to-fix-auto-keyword-error-in-dev-cpp/