Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: BeschBesch on September 29, 2011, 11:43:52 pm
-
Hello,
I'm really new to this community (used VC++ before) and want to access the new features of C++11.
Google did not want to return the right answers (just that it is possible with the VC++ or the Intel-compiler).
Software used: C::B 10.5, Vc++2010 Windows 7 SDK, ON Intel-QuadCore-Machine // @Windows 7 x64
Now, my questions are:
A: how can I select the VC++2010 compiler in the project-settings (I only found VC++ 2003/2005) --> VC++ 2010 express installed + Windows 7 SKD x64
B: does this compiler come with C++11 support?
Thanks in advance. :D
-
C++11 is partially supported in this compiler (but very poorly). Things should be better with VC11 but it's not out yet.
In order to learn the new features of c++11, I suggest you to use a mingw compiler. (http://tdm-gcc.tdragon.net/)
See this link to know what features are available: http://gcc.gnu.org/gcc-4.6/cxx0x_status.html
-
A: how can I select the VC++2010 compiler in the project-settings (I only found VC++ 2003/2005) --> VC++ 2010 express installed + Windows 7 SKD x64
Recent nightly builds (http://forums.codeblocks.org/index.php/board,20.0.html) (installation help (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows)) include MSVC 2010 support (although, I would also suggest MinGW).
-
ok, the features I needed work perfectly well with minGW (mainly "auto")
thanks again! :)