range-based-for loops are not allowed in C++98 mode
How to compile with new mode, tried the "-ansi" command with compiler but no use. can some one tell me how can I use new features, The compiler does recognize them as far as error message is telling but how to tell compiler to compile using new modes (0x or 11). I am using DevC++ with MinGW 4.6.1 (latest I think).