I am just learning how to write range based for loops, but the only problem is that my compiler, Orwell Dev-C++ doesn't seem to support it in its default mode (which is c++98). How can I change this mode to another one that supports this feature (and other features of C++0x). Thanks. Also:
This was the error message: [Error] range-based-for loops are not allowed in C++98 mode
I run Windows 8
The version I have of Dev C++ is 5.3.0.3
And the compiler is TDM-GCC 4.6.1 64 bit.
Thanks to everyone
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…