15

Possible Duplicate:
Where can I learn more about C++0x?

I am fairly familiar with C++03 but I still need to come to terms with C++0x so I would like to read some fairly digestible information on C++0x.

I have looked at the Wikipedia but I am on the look out for something that is more readable. So is there a book or series of blog entries that provide a nice introduction to the matarial?

Community
  • 1
  • 1
doron
  • 27,972
  • 12
  • 65
  • 103
  • 11
    First, you should probably start calling it C++1x, and don't be surprised if you have to call it C++2x before it finally ships. :D – Randolpho Sep 21 '10 at 13:27
  • 2
    This would be a good community Wiki q in my opinion. Nice q. – Steve Townsend Sep 21 '10 at 13:39
  • @Randolpho: I don't think we will have to wait more than 9 years, but seeing that it's already 2010, "C++1x" seems a safer bet than "C++0x". – sbi Sep 21 '10 at 13:52
  • 1
    Similar post which could help you with it: http://stackoverflow.com/questions/200237/ – bdhar Sep 21 '10 at 13:52
  • @bdhar actually looks to be an exact duplicate. That question already has a ton of useful information. – wheaties Sep 21 '10 at 14:09
  • 5
    It's been called C++0x for a long time, and I don't see a reason to change that until we have an actual number, like C++11 or C++12. C++1x should be reserved for the immediately following version, which (IIRC) some people hope to have out around 2018 or so. – David Thornley Sep 21 '10 at 14:11
  • @wheaties: Agreed, but the last info on that site is well over a year old, and things have changed since then (the biggie being dropping concepts). This is still a dupe, but with a potential purpose. Perhaps doron should have edited the older post to ask, in addition "Has anything changed recently?" – David Thornley Sep 21 '10 at 14:22
  • 1
    If only there were a merge ability handed people... – wheaties Sep 21 '10 at 14:52

7 Answers7

4

There is a ton of stuff on this very site - some of the posts include very informative discussion. I would point you to Google but it's going to be more efficient to search in C++0x tagged posts here imo.

Here's a good one to start with, which includes indirection to Stroustrup's own summary. Scott Meyers has presentation materials on the topic here.

Check up on your favourite compiler's support for the new version. Microsoft VC10 support is summarized here. GCC info can be found here.

Official state of the standard for the language is available here. Evolution of the language is in many places tied to ongoing work in Boost. See here for some info on that.

Honestly my preference these days is to look here for 99% of needed info rather than resort to a book.

Community
  • 1
  • 1
Steve Townsend
  • 53,498
  • 9
  • 91
  • 140
2

It's too early for a book. The standard isn't fixed yet.

Now, if you think wikipedia is hard to read, you might try Stroustrup's page about it. However it might seem harder to read to some.

Klaim
  • 67,274
  • 36
  • 133
  • 188
1

There's a good tutorial on codeproject here for VC++. Even if you aren't using Visual Studio though it's still useful.

Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
1

Learn whatever feature you would have loved having in C++98 in the first place. For me, it was variadic templates, lambda functions, decltype and other cool stuff.

If you still don't know what to learn first, maybe you should try to understand what issues from the C++98 are adressed. I say this because all the xvalue, move semantics and al stuff is quite heavy to grasp if you don't know what the problems were (and still are btw). This may imply learning some more C++98 first.

Then, you can always browse the Wikipedia article and look at whatever you find cool. Implementors don't provide all the features yet, so you'll look like a 5 year old staring at the front window of a toy store. This is a good reason to behave like one.

Alexandre C.
  • 55,948
  • 11
  • 128
  • 197
1

I really liked this series of blog posts by the Visual C++ Team Blog:

Idan K
  • 20,443
  • 10
  • 63
  • 83
1

I found the Overview of the New C++ (C++0x) book by Scott Meyers to be a good, detailed summary of the main features. It's more of a presentation with very detailed footnotes that an actual book, but it's still an excellent, short read.

Mhmmd
  • 1,483
  • 9
  • 15
0

I suggest you using the book functionality of Wikipedia to make it more readable/printable. I did the same for the C++0x page.

tunnuz
  • 23,338
  • 31
  • 90
  • 128