Roy Cole - 2017-02-16

My text book program does not run on my OS (Win10 64-bit), running Dev-Cpp 5.11 - Compiler: TDM-GCC 4.9.2 64-bit Release. I get an error message as follows.. error - range-based 'for' loops are not allowed in C++98 mode. I don't know how to correct. I need to set or reset this Dev-Cpp config to the new mode of C++0x, etc. The text book is C++ Without Fear (2nd ed) lesson example 10.2. The line of code that errors is.. "for (int : arr)". What do I need to do to update my Dev-Cpp to C++0x to get rid of this error, or what???