C++ Primer (5th Edition) 5th Edition
Use the Amazon App to scan ISBNs and compare prices.
- List Price: $59.99
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Frequently bought together
Customers who viewed this item also viewed
About the Author
Josée Lajoie, now at Pixar, was a member of IBM Canada’s C/C++ compiler development team, and chaired the core language working group for the original ANSI/ISO C++ standardization committee.
Barbara E. Moo has nearly thirty years of software experience. During her fifteen years at AT&T, she worked closely with C++ inventor Bjarne Stroustrup and managed the C++ development team for several years.
There was a problem filtering reviews right now. Please try again later.
As a tip to any beginners, read through the book lightly for the first time. What I mean is that don't attempt to understand everything right away and don't focus too much on the details. Make a note of the areas you had difficulty understanding, do a slight research to see if you can grasp it right away, but don't focus on that too much. You'll be surprised how much of the earlier information will become clear and a second nature to you as you progress further. Once you're done with your first read-through, go back and see if you still don't understand any of the areas you've marked down. I'm sure that you'll be able to eliminate many of them. At this point, focus heavily on the areas you still have difficulty with. Of course, results will vary and not everyone learns the same way, but this has worked out very well for me. That's how I study for everything. I read through any material very lightly the firs time around, to get the general feeling and find the areas I'll be focusing on, and then go back to focus on those details. This strategy helped me maintain 4.0 in Computer Science, so the results are real (but once again, it may vary by person).
I read the first three chapters straight thru, then hit chunks elsewhere. Given the book's size, I'd bet that few of the 5- or 4-star reviewers have read much of the text in detail.
The book is quite good in sections, but overly verbose elsewhere. In trying to be precise, the authors are frequently the reverse -- and wordily so! One example is in chapter 2, where classes are introduced, classes being a central concept of OOP languages. The authors define a very simple class consisting only of a few data members, but all their sample code uses the "struct" keyword. Structs pre-existed in C and were widely used. (C Structs are what evolved into C++ classes; they are *almost* but not quite identical to classes.) The problem is that the authors never tell you what a struct is, and keep referring to the struct in their sample code as a "class". Thus, when you see "struct" in their sample code, you must go outside the book to learn what "struct" is and how it differs from a "class". (Google: "c++ struct vs class") Sections like this are obscure and irritating, and there are too many of them.
In parallel with this book, I read Stephen Davis' "C++ for Dummies", which is excellent. Davis' writing is sparse, clear and precise, as are his code examples, and not overly sprinkled with "cutsie" comments. Davis is far better organized. He starts with basics and gradually moves up to complex topics such as copy/move constructors, polymorphism and class templates. Whether programming newbie or experienced C programmer, I'd strongly recommend Davis' book.
Right now I am having trouble figuring out what std::map and using map does in Cpp until I read a couple pages then I immediately understand the key features.
Top international reviews
Anyways, you can without a second thought buy this book and learn a lot about c++
This new version is just as good.