I'm using windows 7. I am asked to use chrono to check function evaluation time. My instructor told me to compile with g++ -std=c++0x x.cpp
How could I do it in Codeblocks?
My friend uses/marks this flag in compiler settings: "Have g++ follow the C++11 ISO C++ language standard [-std=c++11]. I did not have it so I manually created it then build and it gave this error:
unrecognized command line option "-std=c++11"
When I choose "Have g++ follow the coming C++0x ISO language standard -std=c++0x" , again it says:
unrecognized command line option "-std=c++0x"
I downloaded the same setup as my friend. And it gives same errors in Dev C++
What should I do?
I'm using GNU GCC Compiler my friend also uses this