Trying to make VS2010 compiler use C++11

In code::blocks I used the gnu compiler and set it in the build options to use the C++11 standard, in VS2010, it doesn't seem so simple. The real problem is that I can't define variables in the header file which I'm pretty sure is because of the standard i'm using which I don't know of, non the less, i'm trying to switch to C++11 in VS2010.

Edit: I see this isn't possible, does VS2013 support being able to initialize data members in the header?
Last edited on
VS2010 doesn't support much c++11. use VS2013 which supports much more.
Another note, the latest C++ standard is generally enabled by default (with no way to disable it afaik) even as it is incomplete.
Topic archived. No new replies allowed.