Author Topic: Developing with C++11 and C::B  (Read 8231 times)

Offline BeschBesch

  • Single posting newcomer
  • *
  • Posts: 2
Developing with C++11 and C::B
« 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

Offline renega_666

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Developing with C++11 and C::B
« Reply #1 on: September 30, 2011, 12:17:22 am »
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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: Developing with C++11 and C::B
« Reply #2 on: September 30, 2011, 12:37:06 am »
     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 (installation help) include MSVC 2010 support (although, I would also suggest MinGW).

Offline BeschBesch

  • Single posting newcomer
  • *
  • Posts: 2
Re: Developing with C++11 and C::B
« Reply #3 on: September 30, 2011, 09:18:33 am »
ok, the features I needed work perfectly well with minGW (mainly "auto")

thanks again!  :)