Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: staticgerbil on January 12, 2011

Title: C++0x hitting 2011
Post by: staticgerbil on January 12, 2011
Hey guys,

You may or may not have seen this but it looks like we might be getting the new version of c++ this year...

http://www.codeguru.com/cpp/misc/article.php/c18357/An-Interview-with-C-Creator-Bjarne-Stroustrup.htm
Title: Re: C++0x hitting 2011
Post by: LittleWhite on January 12, 2011
In some point, it looks good even for me. But at the moment, I am not handling the C++ so well ... so the C++0x is a bit scaring to me :p

Thanks for the interview, really useful :up:
Title: Re: C++0x hitting 2011
Post by: staticgerbil on January 13, 2011
There are certainly some things I'm interested in playing with, particularly lambda expressions.  Although I'm quite certain it will take me a long time to actually get in the habbit of using the new features when they do become a standard.

One thing I learnt about the existing c++ standard from that interview is that we can use "auto".  I had no idea that existed :D
Title: Re: C++0x hitting 2011
Post by: Jim on January 13, 2011
Lambda expressions in C#, and Linq, are utterly fantastic - how did we ever code without them?  I use Linq in almost every method I code.

I've seen nothing of the C++ spec for such a thing, I hope you get good things!  Any link to a sample of what you're getting?

Jim
Title: Re: C++0x hitting 2011
Post by: staticgerbil on January 14, 2011
I don't have any particularly good links on me, most of what I know is striaght from other coders.

Wikipedia seems like it has a pretty good list of what we can expect and seems to match what I've heard before...

http://en.wikipedia.org/wiki/C%2B%2B0x

It's looking like Scott Myers is getting into c++0x, if he writes a book for it I think I'll grab that one.  I have his others and found them incredibly useful while I was (and still) learning.
http://www.aristeia.com/C++0x.html