Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Best C++11/14 book to cover all

113 views
Skip to first unread message

JiiPee

unread,
Nov 13, 2014, 4:33:16 AM11/13/14
to
I have been thinking of buying a new book (or 2 books) to learn
everything about C++11 (preferably including 14 but its not essential as
14 can be learned elsewhere I think as its not that different to 11).

So is there any thick one book which cover all the C++ features,
inluding C++11. Is it going to be Bjarnes "The C++ Programming Language
(4th Edition)"? It is a really good book, but is there a better one? Or
another one beside it? I have its Third edition from 1996, but obviously
its very different I guess, so worth of buying?

I would prefer to have one book covering all, but I guess I need two
maybe. So what would be a good pair of two books to cover all C++11
language topics?

And they do not need to cover fully standard library as I know there is
a special book for it. I was thinking more like learning very well C++
core stuff.

Or its not possible to cover all C++ in couple of books?

Stephen

unread,
Nov 13, 2014, 6:22:35 AM11/13/14
to
I have the 2nd edition of Bjarnes "The C++ Programming Language" and
it's hard work. The detail is in there, but his writing style does not
gel with me. I'm assuming the later versions are better, maybe.

I'm returning to C++ after a decade away and wanted a book with C++11
features and choose "C++ Primer", 5th Edition by Lippman, Lajoie and
Moo. It's an excellent book running to 900+ pages and seems to cover the
whole language upto and including C++11. You may want/need Bjarnes book
as a standby for some features but try the primer book first.

For the STL I'm using "The C++ Standard Library" by Josuttis. Again,
it's a heavy weight book, easy to read and covers the latest version of
the library. Although it is printed on paper slightly thinner that
toilet paper !

Stephen



JiiPee

unread,
Nov 13, 2014, 6:33:08 AM11/13/14
to
Ok the thing is that I am looking for as detailed book as possible,
because I know the basics. I want to go a bit deeper.

"The C++ Standard Library" by Josuttis.
Yes, am also planning to buy that. And now they have c++11 version of
it. But thats what am after now.... heavy weight. So I also want a heavy
weight C++11 language book.

Would be nice to have a book having details what happens in memory when
using different features etc. But not sure if that book exists. But I
like Bjarnes detailed writing.

I ll check that "C++ Primer"... would be good if could first read it in
a library before buying.

JiiPee

unread,
Nov 13, 2014, 6:40:53 AM11/13/14
to
On 13/11/2014 09:33, JiiPee wrote:
> I have been thinking of buying a new book (or 2 books) to learn
> everything about C++11 (preferably including 14 but its not essential
> as 14 can be learned elsewhere I think as its not that different to 11).
>

Seems like Mayers "Effective Modern C++" coming this month might be
good. He seems to go to details a lot.
Message has been deleted

Robert Hutchings

unread,
Nov 13, 2014, 10:25:28 AM11/13/14
to
On 11/13/2014 7:58 AM, Stefan Ram wrote:
> JiiPee <n...@notvalid.com> writes:
>> Ok the thing is that I am looking for as detailed book as possible,
>
> If you ask the ISO very nicely and kindly, they might be
> willing to sell you a copy of »International Standard
> ISO/IEC 14882:2014(E) Programming Language C++«.
>
> While you're at it, you also need to order the normative
> references of ISO/IEC 14882:2014(E) to have all the details:
>
> - ISO/IEC 2382 (all parts), Information technology -
> Vocabulary
>
> - ISO/IEC 9899:1999, Programming languages - C
>
> - ISO/IEC 9899:1999/Cor.1:2001(E), Programming
> languages - C, Technical Corrigendum 1
>
> - ISO/IEC 9899:1999/Cor.2:2004(E), Programming
> languages - C, Technical Corrigendum 2
>
> - ISO/IEC 9899:1999/Cor.3:2007(E), Programming
> languages - C, Technical Corrigendum 3
>
> - ISO/IEC 9945:2003, Information Technology -
> Portable Operating System Interface (POSIX)
>
> - ISO/IEC 10646-1:1993, Information technology
> -Universal Multiple-Octet Coded Character Set (UCS)
> - Part 1: Architecture and Basic Multilingual Plane
>
> - ISO/IEC TR 19769:2004, Information technology -
> Programming languages, their environments and system
> software interfaces - Extensions for the programming
> language C to support new character data types
>
>> having details what happens in memory when using different
>> features
>
> C and C++ are abstract languages. You can't even say how
> many bits an int object has. If you want to know what
> happens in memory, use assembler.
>
You can download a preview copy Scott Meyers' new book here:
http://cdn.oreillystatic.com/oreilly/booksamplers/9781491903995_sampler.pdf

JiiPee

unread,
Nov 13, 2014, 12:58:05 PM11/13/14
to
On 13/11/2014 15:25, Robert Hutchings wrote:
> You can download a preview copy Scott Meyers' new book here:
> http://cdn.oreillystatic.com/oreilly/booksamplers/9781491903995_sampler.pdf
>

Yes thats good, have to check a bit that. But I have listened a lot
Scott videos, so am pretty confident he has some good stuff there.

Richard

unread,
Nov 13, 2014, 3:43:12 PM11/13/14
to
[Please do not mail me a copy of your followup]

n...@notvalid.com spake the secret code
<kV_8w.773882$Ym.3...@fx05.am4> thusly:

>I have been thinking of buying a new book (or 2 books) to learn
>everything about C++11 (preferably including 14 but its not essential as
>14 can be learned elsewhere I think as its not that different to 11).

Here are my recommendations.

"The C++ Programming Language", 4th ed., by Bjarne Stroustrup
<http://amzn.to/1GTvT2C>

"C++ Programming Language", 4th ed., is complete in covering
language features. He doesn't go into every single little
tiny detail of every library class, particularly when it comes
to discussing extension points (e.g. how to write your own
streambuf).

My only complaint with Stroustup's book is that I have the 2nd
printing and it has a large number of small typos, mostly in
the little code snippets. The explanations are fine and the
typos are not of the variety that it renders the code snippet
non-sensical but it is a distraction that occurs far too often
for my taste. Still, I got enjoyment from reading the latest
edition of this book. (I've read all the previous editions at
some point.) My only regret in purchasing it is that I wished
I was one of his reviewers to point out these typos while the
manuscript was in preparation :-).

"C++ Primer", 5th ed., by Stanley Lippman
<http://amzn.to/1xlI5GD>

A number of people have said that Stroustrup's style just
doesn't "gel" with them or they find it difficult to read.
Fortunately Stanley Lippman's "C++ Primer", 5th ed., seems to
provide that alternate perspective that reaches people who find
Stroustrup's style difficult. I had an older edition of this
book and I found it to be just fine, but since I didn't have
any problems with Stroustrup's presentation style, I gave my
copy away to someone so it would be put to better use.

"The C++ Standard Library", 2nd ed., by Nicolai Josuttis
<http://amzn.to/1xCeUO7>

This is the book I like For the standard library. The 2nd edition
has been updated for C++11. I used this book as the basis for
internal training on the whole standard library and I found it
to be great to learn from and to use as a reference I keep on my
desk.

"Standard C++ IOStreams and Locales"
<http://amzn.to/1u6MWrk>

AFAIK, this is the only book that really dives all the way down
the rabbit hole of locales and iostreams. Stroustrup covers the
basics enough for common use, so you don't need this book if you
just want to know how to do locale-specific input of numeric
quantiies. Not much (anything?) changed here with respect to
C++11, but it's nice to know about this book if you need to dive
down into this stuff beyond casual consumption of streams and the
occasional use of locale facets.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

Jorgen Grahn

unread,
Nov 13, 2014, 4:24:50 PM11/13/14
to
On Thu, 2014-11-13, Stephen wrote:
> On 13/11/14 09:33, JiiPee wrote:
>> I have been thinking of buying a new book (or 2 books) to learn
>> everything about C++11 (preferably including 14 but its not essential as
>> 14 can be learned elsewhere I think as its not that different to 11).
>>
>> So is there any thick one book which cover all the C++ features,
>> inluding C++11. Is it going to be Bjarnes "The C++ Programming Language
>> (4th Edition)"? It is a really good book, but is there a better one? Or
>> another one beside it? I have its Third edition from 1996, but obviously
>> its very different I guess, so worth of buying?

The 4th has been reworked a lot; the new stuff isn't just introduced
in an appendix or something, but all the way through. So there are a
lot more curly brackets than in the earlier editions.

>> I would prefer to have one book covering all, but I guess I need two
>> maybe. So what would be a good pair of two books to cover all C++11
>> language topics?
>>
>> And they do not need to cover fully standard library as I know there is
>> a special book for it. I was thinking more like learning very well C++
>> core stuff.
>>
>> Or its not possible to cover all C++ in couple of books?
>
> I have the 2nd edition of Bjarnes "The C++ Programming Language" and
> it's hard work. The detail is in there, but his writing style does not
> gel with me. I'm assuming the later versions are better, maybe.

His style is the same. It took many years for me to appreciate it,
but it grows on you.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

seeplus

unread,
Nov 13, 2014, 7:16:34 PM11/13/14
to
As you mention, the very latest is:

Effective Modern C++ - Scott Meyers

Being printed right now. Digital is available and hard copy available ~ 5th Dec.
You can/could DL a lot of excerpts from his blog site, and he also does about
an hours discussion on C11 and C14 stuff and the book here, certainly enough to keep you going :)

http://vimeo.com/97318797

That site is a bit intermittent at present tho.

sergei.na...@gmail.com

unread,
Sep 7, 2016, 12:45:06 PM9/7/16
to

> > I have been thinking of buying a new book (or 2 books) to learn
> > everything about C++11 (preferably including 14 but its not essential
> > as 14 can be learned elsewhere I think as its not that different to 11).
> >
>

advanced c++ faqs and c++14 faqs by Chandra Shekhar Kumar may be a cool refresher series to aid your learning though not meant for beginners.

0 new messages