User forums > Using Code::Blocks

Developing with C++11 and C::B

(1/1)

BeschBesch:
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

renega_666:
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

Alpha:

--- Quote from: BeschBesch on September 29, 2011, 11:43:52 pm ---     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

--- End quote ---
Recent nightly builds (installation help) include MSVC 2010 support (although, I would also suggest MinGW).

BeschBesch:
ok, the features I needed work perfectly well with minGW (mainly "auto")

thanks again!  :)

Navigation

[0] Message Index

Go to full version