Buy new:
-23% $53.87$53.87
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$40.56$40.56
Ships from: Amazon Sold by: Third Chapter Books
Return this item for free
We offer easy, convenient returns with at least one free return option: no shipping charges. All returns must comply with our returns policy.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
C++ Primer (5th Edition) 5th Edition
Purchase options and add-ons
Fully updated and recast for the newly released C++11 standard, this authoritative and comprehensive introduction to C++ will help you to learn the language fast, and to use it in modern, highly effective ways. Highlighting today’s best practices, the authors show how to use both the core language and its standard library to write efficient, readable, and powerful code.
C++ Primer, Fifth Edition, introduces the C++ standard library from the outset, drawing on its common functions and facilities to help you write useful programs without first having to master every language detail. The book’s many examples have been revised to use the new language features and demonstrate how to make the best use of them. This book is a proven tutorial for those new to C++, an authoritative discussion of core C++ concepts and techniques, and a valuable resource for experienced programmers, especially those eager to see C++11 enhancements illuminated.
Start Fast and Achieve More
- Learn how to use the new C++11 language features and the standard library to build robust programs quickly, and get comfortable with high-level programming
- Learn through examples that illuminate today’s best coding styles and program design techniques
- Understand the “rationale behind the rules”: why C++11 works as it does
- Use the extensive cross-references to help you connect related concepts and insights
- Benefit from up-to-date learning aids and exercises that emphasize key points, help you to avoid pitfalls, promote good practices, and reinforce what you’ve learned
Access the source code for the extended examples from informit.com/title/0321714113
C++ Primer, Fifth Edition, features an enhanced, layflat binding, which allows the book to stay open more easily when placed on a flat surface. This special binding method—notable by a small space inside the spine—also increases durability.
- ISBN-109780321714114
- ISBN-13978-0321714114
- Edition5th
- PublisherAddison-Wesley Professional
- Publication dateAugust 6, 2012
- LanguageEnglish
- Dimensions7.1 x 2 x 9.1 inches
- Print length976 pages
Frequently bought together

More items to explore
From the Publisher
New edition of Bjarne's Stroustrup's "A Tour of C++" now available
This third edition covers many features that are new in C++20 as implemented by major C++ suppliers, including modules, concepts, coroutines, and ranges. It even introduces some library components in current use that are not scheduled for inclusion in the standard until C++23.
C++20 for Programmers
|
Discovering Modern C++
|
Beautiful C++
|
Core C++ Guidelines Explained
|
Embracing Modern C++ Safely
|
Teach Yourself C++ in One Hour a Day
|
|
|---|---|---|---|---|---|---|
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
|
| Customer Reviews |
4.3 out of 5 stars 51
|
4.2 out of 5 stars 32
|
4.4 out of 5 stars 70
|
4.7 out of 5 stars 32
|
4.4 out of 5 stars 30
|
4.6 out of 5 stars 60
|
| Price | $59.99$59.99 | $41.22$41.22 | $44.99$44.99 | $44.21$44.21 | $78.87$78.87 | $46.27$46.27 |
| Who is this for | Programmers experienced with another language that want to learn C++20. | Those with backgrounds in the sciences that want to learn C++20, regardless of programming experience. | C++ programmers with all levels of experience. | C++ programmers with all levels of experience. | C++ programmers with all levels of experience. | Those with little or no programming experience. |
| Approach | Hands-on instruction, including 200+, real-world examples to help you quickly master C++20, its “Big Four” features (Ranges, Concepts, Modules and Coroutines), and idioms using popular compilers. | Drawing on extensive experience teaching C++ to physicists, mathematicians, engineers, and students, this intensive introduction guides you smoothly to sophisticated approaches based on advanced features. | Identifies 30 Core Guidelines you'll find especially valuable and offers detailed practical knowledge for improving your C++ style through useful conceptual insights and expert sample code. | Condenses the C++ Core Guidelines to their essence, removing esoterica, sharing new insights and context, and presenting well-tested examples to help you write more elegant C++ programs and improve legacy code. | Distills the C++ community's years of experience applying C++11 and C++14 features to help you make effective and safe design decisions that reflect real-world, economic engineering tradeoffs in large-scale, diverse software development environments. | This complete tutorial will help you quickly master the basics of object-oriented programming and teach you advanced C++ language features and concepts. |
| About the authors | Paul Deitel and Harvey Deitel are the founders of Deitel & Associates, Inc. Millions of people worldwide have used Deitel products to master major programming languages and platforms. | Peter Gottschling has extensive experience teaching C++ to physicists, mathematicians, engineers, and students, is a member of the ISO C++ standards committee and vice-chair of Germany’s programming language standards committee. | J. Guy Davidson and Kate Gregory are expert C++ programmers. Guy is a contributor to the C++ standards committee and Kate is known for her excellent teaching and writing on C++ and programming. | Rainer Grimm is a trainer, coach, and technology Consultant. He is the author of several books on modern C++, concurrency, and blogs at modernesscpp.com. | John Lakos, Vittorio Romeo, Rostislav Khlebnikov, and Alisdair Meredith are software engineers at Bloomberg and leading authorities on C++. John Lakos is a long-time member of the C++ Standards Committee. | Siddhartha Rao is the vice president in charge of product security at SAP SE. A software engineer at heart, Siddhartha is convinced that the rapid evolution of C++ has powered this age of machine learning and artificial intelligence. |
| “This is a fine book that covers a surprising amount of the very large language that is C++20—an in-depth treatment of C++ for a reader familiar with how things work in other programming languages.” —Arthur O’Dwyer, C++ trainer | no data | " For true geeks, it is an easy and entertaining read. For most software developers, it offers something new and useful." --Bjarne Stroustrup, inventor of C++ and co-editor of the C++ Core Guidelines | "We are very pleased to see Rainer Grimm applying his teaching skills and industrial background to tackling the hard and necessary task of making [these] accessible to more people." --Bjarne Stroustrup and Herb Sutter, co-editors, C++ Core Guidelines | no data | no data |
Editorial Reviews
About the Author
Stanley B. Lippman has retired back to the Catalina Foothills where he is working on EEEK!, a computational model of the nervous system of the House Mouse, and An Off By One Error, a speculative novel set in the Northwestern Rain Forest. During his professional career, Stanley served as Distinguished Consultant for the Jet Propulsion Laboratory, Architect for the Visual C++ development group at Microsoft, member of technical staff at Bell Laboratories, two stints in Massive Multiplayer Online Gaming, and a surprisingly long stint in Feature Animation at Disney, DreamWorks, Pixar, and PDI. Stanley will be most remembered for his many years working with Dr. Stroustrup on the implementation of cfront, the standard implementation of C++ until the ISO standard.
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.
Product details
- ASIN : 0321714113
- Publisher : Addison-Wesley Professional
- Publication date : August 6, 2012
- Edition : 5th
- Language : English
- Print length : 976 pages
- ISBN-10 : 9780321714114
- ISBN-13 : 978-0321714114
- Item Weight : 2.31 pounds
- Dimensions : 7.1 x 2 x 9.1 inches
- Best Sellers Rank: #61,918 in Books (See Top 100 in Books)
- #7 in C++ Programming Language
- #11 in Object-Oriented Design
- #48 in Software Development (Books)
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Stanley B. Lippman is a computer scientist and author. He is most widely known as an author of C++ Primer book, which is currently published as 5th edition. He has worked with Bjarne Stroustrup in Bell Laboratories during early stages of C++ development. In 2001, Stanley Lippman became an Architect for Visual C++. In 2007, he joined Emergent Game Technologies. He then worked for NASA, Pixar and is now working at 2kQubits according to his LinkedIn page.
Bio from Wikipedia, the free encyclopedia.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the C++ Primer book well-written, explaining concepts thoroughly and progressing from basics to advanced topics, making it suitable for both beginners and experienced programmers. The book receives positive feedback for its extensive coverage and value for money. However, customers report compatibility issues with Kindle PC, poor printing quality, and formatting problems with the Kindle edition.
AI Generated from the text of customer reviews
Customers find the book highly readable, praising its thorough explanations and detailed content, with one customer noting how it progresses from basics to advanced concepts.
"...It does however explain everything in detail and in a manner that is clear...." Read more
"...It feels like it was written by real working human beings, rather than some academic poindexter with no real-life experience...." Read more
"...the newest version of the language but there are a lot of really good tips in this book. Highly recommend to anyone wanting to get better at C++" Read more
"...I find that some of the subjects are confusing because I dont quite think that way. For instance when making a vector change to upper case letters...." Read more
Customers find this C++ book excellent for learning, serving as both a great introduction for programmers and a definitive reference, with content that progresses from beginner to advanced levels.
"...This book is a great resource for someone wanting to learn C++...." Read more
"...He is a great teacher and it's important to learn this potentially confusing language from a great teacher." Read more
"...a complete encompassed look at C++ but it does offer an invaluable preparation for using C++ before moving on to [..." Read more
"...I thought the quiz in chapter 1 was hard. I had a difficult time writing the code because I had no idea what was going on in the header file...." Read more
Customers find the book worth the money.
"...It will take time but it is completely worth it. You will transition from a beginner to an expert (or at least intermediate level)." Read more
"Contents of the book are worth the money, but the cover came separated from the spine...." Read more
"...The book is worth buying (at least for me ) just to grab at that educational content alone...." Read more
"...Nonetheless, for those thousand pages, this book was worth every damn dime I paid. Stanley and his co-writers are geniuses." Read more
Customers appreciate the comprehensive coverage of the book, with one customer noting that it covers material at several depths.
"...The best parts of the book are its coverage and writing style: comprehensive, accurate and readable...." Read more
"...The book covers its material at several depths; it is easy to read as little or as much as one needs for the task at hand." Read more
"Excellent book with extensive coverage. Only "primer" I know that weighs 2kg." Read more
"Good Coverage of the New C++ 11 Features..." Read more
Customers appreciate the book's style, describing it as a classic, with one customer noting its modern approach.
"It's very old school, yet modern. This book is the best book for any beginner that would like to start learning programming...." Read more
"classic book. anyone learn c++ should have one." Read more
"A classical book =]" Read more
"Classic book, with new C++11 features" Read more
Customers report that the book is not compatible with the Kindle PC app and is pretty much useless.
"...Not even compatible to my windows 8 PC. So I kicked one star off. I hope this problem resolved soon..." Read more
"...the 'view the code image' links, hop to the back of the book, rendering the useless. The text is more encyclopedia than a primer of any kind...." Read more
"...This title's format is not compatible with your device. Please try another device or contact Kindle Customer Support."..." Read more
"Unfortunately this book is not compatible with Kindle PC and does not teach the language in a very clear way for a beginner...." Read more
Customers express dissatisfaction with the printing quality of the book.
"...I do concern about the manufacturing quality of the book." Read more
"...It came with many unreadable pages due to some printing problem." Read more
"Outdated, muddled, poor. I wish I never bought it. I wonder if I can still get my money back?" Read more
"Product had terrible printing. I thought the problem was only in one page, but it turned out to be present throughout the book." Read more
Customers report issues with the Kindle formatting of the book.
"...Kindle apps for my Macbook Air (Mavericks) and my iPad Air the formatting is awful...." Read more
"...The code formatting on the kindle edition is messed up...." Read more
"The book itself is great. However, the formatting for the Kindle is messed up and ruins the reading experience...." Read more
"Bought the Kindle edition, the book is VERY poorly formatted and difficult to read on Kindle...." Read more
Reviews with images
Five Stars
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on April 22, 2025Format: PaperbackVerified Purchasemade C++ make sense for me
- Reviewed in the United States on May 25, 2020Format: PaperbackVerified PurchaseI am not a paid shill. I am new to programming and have only dabbled lightly in JavaScript. At time of review I am currently 250 pages into the book.
The Physical:
The physical quality of the book is amazing. The binding really helps the book lay flat while avoiding awkward spiral binding found in some books. The text is printed clearly is and is easy to read.
The Content:
The overwhelming consensus is that C++ is a more difficult language to grasp (than other languages) as a person new to programming. In the little bit of time I have spent learning JavaScript compared to C++, I can confirm that statement as being true.
This book does not provide a magic bullet for grasping unusual concepts. It does however explain everything in detail and in a manner that is clear. Areas of the book can quickly become overwhelming especially if previous information is not clearly understood.
I am currently taking a Udemy course in parallel with reading this book and each learning mechanism compliments the other. I also am referencing a github repository with completed exercises for concepts I am struggling with. Typically I will read 5-6 pages and try to apply that knowledge in a program. I find that if I spend too much time reading without much time practicing the concepts, then the information is lost in memory.
The book has an excellent index in the back that makes using this as a reference manual very appealing.
The book is quite dense and moves over some complicated concepts rather quickly. I am often having to reread paragraphs and practice code to fully understand what the book is trying to tell me. This book is a great resource for someone wanting to learn C++. If you are absolutely new to programming, you will want a second (more) beginner friendly source of information to aid in understanding some difficult concepts.
- Reviewed in the United States on April 4, 2025Format: PaperbackVerified PurchaseThis book was recommended by Microsoft learn. It has subjects in it that are not in Beginning Programming with C++ for Dummies like the vector topic. I do not think this book is a great first option for people with no experience. I find that some of the subjects are confusing because I dont quite think that way. For instance when making a vector change to upper case letters. My first though was not to make a reference of a reference to change the characters in a vector. This Microsoft course said its a great source for learning modern syntax practices. Im on chapter 3 and it would be a lot harder without AI helping me in Visual Studio. Some of the exercises have taken me a few days to figure out. I thought the quiz in chapter 1 was hard. I had a difficult time writing the code because I had no idea what was going on in the header file. It teaches you after the fact how to make one. I found it difficult to use the variables in the header file since I couldn't understand it.
- Reviewed in the United States on February 13, 2016Format: PaperbackVerified PurchaseThis is a very well written book. I'm an experienced programmer (C# and I have had experience with C++ a few years back, but nothing too serious), so it's hard for me to judge this from a beginner's perspective; however, my experience gives me a bit of an insight into what a book should include and how the material should be structured. I know what I want to get out of a book and so it makes it easy for me to judge whether that requirement has been fulfilled. I must say that this book has managed well in every aspect. It does a good job of explaining things well enough, without making it all too dry and boring. Many books do a poor job of focusing too much on some topics to the point where it's unbearable to read them, while failing to cover certain topics in any reasonable detail. I haven't had any issues with this one. It's a pretty thick book (~900 pages of actual material) and it does a good job of putting it all together. It feels like it was written by real working human beings, rather than some academic poindexter with no real-life experience. There's no pointless humor and at the same time there is absolutely no attempt at sounding superior in any of explanations in attempt to impress the reader. This book is a very easy read. I am incredibly picky on books and it's not easy to please me -- I haven't found any faults worth of mentioning with this book. I don't think a beginner will have too much difficulty with this book and I definitely think that experienced programmers wanting to brush up on their C++ will get a lot out of this. This thing will stay in my library (it's a shame there's no hardcover version, I enjoy those).
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).
- Reviewed in the United States on June 17, 2024Format: PaperbackVerified PurchaseI have been programming for years but I wanted a deeper understanding of C++ so I bought this book. Its not the newest version of the language but there are a lot of really good tips in this book. Highly recommend to anyone wanting to get better at C++
Top reviews from other countries
JayanthReviewed in India on June 28, 20185.0 out of 5 stars Excellent book. Comes highly recommended. Great for beginners.
Format: eTextbookVerified PurchaseSuper readable. Comes highly recommended from stackexchange as the Number 1 book for beginners. Language is great and flows, but for those unfamiliar with programming completely, they may do well to spend much more time in the first chapter, just going thru very slowly what the first program is all about.
Get the 2012 edition (5th edition) - this is updated for C++ 11.
I thoroughly enjoyed reading up to this point atleast. Book is very well written, and is eminently readable. I have the kindle version. Only wish that they made the hyperlinks a little less conspicuous in the pages. They scream out at you with blue text.
Also, wish the code was colored and not just plain vanilla. It would have helped in grasping the concepts MUCH faster.
-
DRIEU christopheReviewed in France on April 9, 20205.0 out of 5 stars Complet
Format: PaperbackVerified PurchaseEnseignement clair du C++ moderne tout en allant au fond des choses. Attention, il faut déjà savoir programmer contrairement à "Programming Principles and Practice using C++" de B.Stroustrup.
Pour la personne qui pense que son livre est décollé, c'est normal, c'est écrit au dos du livre. C'est un nouveau procédé de reliure qui permet de garder le livre plus facilement ouvert et augmente la durabilité du livre.
-
JoeriDReviewed in Belgium on January 14, 20243.0 out of 5 stars Boekcontent volgens verwachting, onzorgvuldig verpakt
Format: PaperbackVerified PurchaseHet boek zat gekreukt in de verzending.
Het boek zelf is qua inhoud volledig volgens verwachting: geschreven in heldere taal, met goede opbouw en voldoende diepgang.
Angela SawhReviewed in Canada on October 5, 20245.0 out of 5 stars C++ Primer textbook review
Format: PaperbackVerified PurchaseThis book is very good at describing what each part of the code is for. I like this because my thing is always asking « Why? » I need to know why something is the way it is.
-
DanielReviewed in Spain on April 25, 20255.0 out of 5 stars Muy completo
Format: PaperbackVerified PurchaseGuia muy completa para la iniciación en C++







