C++ Primer (5th Edition) 5th Edition
Use the Amazon App to scan ISBNs and compare prices.
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
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.
- ASIN : 0321714113
- Publisher : Addison-Wesley Professional; 5th edition (August 6, 2012)
- Language : English
- Paperback : 976 pages
- ISBN-10 : 9780321714114
- ISBN-13 : 978-0321714114
- Item Weight : 3.47 pounds
- Dimensions : 7.1 x 2 x 9.1 inches
- Best Sellers Rank: #26,225 in Books (See Top 100 in Books)
- Customer Reviews:
Reviews with images
Top reviews from the United States
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.
By Eric Pederson on June 4, 2016
Top reviews from other countries
If you are a beginner I would recommend going through learncpp.com before reading this book. If you buy this book as a beginner, persevere past the first chapter. The first chapter will be quite daunting and maybe discouraging at times to a beginner. The chapters immediately after that are a bit easier and help to tie together some ideas introduced in the first chapter.
Overall, a good and thorough book, with no mistakes in it.