anubhavchaturvedi / PayPal-bootcamp

0 stars 5 forks source link

Code compilation error due to C++11 not being used by IDE #5

Closed anubhavchaturvedi closed 9 years ago

anubhavchaturvedi commented 9 years ago

Hi the issue is because the the IDE is using C++98 to compile it

To change it in CodeBlocks, go to settings -> compiler tick C++11 ISO for compilation in the checkboxes

anubhavchaturvedi commented 9 years ago

image

Rubeenaks commented 9 years ago

http://stackoverflow.com/questions/16951376/how-to-change-mode-from-c98-mode-in-dev-c-to-a-mode-that-supports-c0x-ran

In case anyone is using dev c++

fhalde commented 9 years ago

dev c++ ppl can add -std=c++0x in the compiler options