How to change C++98 mode in DEV C++ to C++17 mode that supports range based for loops?

Viewed 2457

I have been using range based for loops for quite a time.I am doing it by changing the settings of my Dev C++ compiler from this way.However new features of c++ 17 won't support in this compiler.Like

for (auto&& [first,second] : mymap) {
    // use first and second
}

Is there any way to change the settings or download some extra files to support range based for loops in my compiler?

My setups:

WINDOWS 10

Version - Dev c++ 5.11

Compiler - TDM-GCC 4.6.1 64 bit.

1 Answers
Related