Save up to 20% off select gift cards
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
-23% $53.87
FREE delivery Monday, June 16
Ships from: Amazon.com
Sold by: Amazon.com
$53.87 with 23 percent savings
List Price: $69.99
FREE Returns
FREE delivery Monday, June 16
Or Prime members get FREE delivery Friday, June 13. Order within 17 hrs 32 mins.
Arrives 2 days before Father's Day
In Stock
$$53.87 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$53.87
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$40.56
FREE Returns
Book is in good condition and may include underlining highlighting and minimal wear. The book can also include From the library of labels. May not contain miscellaneous items toys dvds etc. . We offer 100% money back guarantee and 24 7 customer service. Free 2-day shipping with Amazon Prime! Book is in good condition and may include underlining highlighting and minimal wear. The book can also include From the library of labels. May not contain miscellaneous items toys dvds etc. . We offer 100% money back guarantee and 24 7 customer service. Free 2-day shipping with Amazon Prime! See less
FREE delivery June 22 - 26
Or fastest delivery June 19 - 23
Arrives after Father's Day. Need a gift sooner? Send an Amazon Gift Card instantly by email or text message.
$$53.87 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$53.87
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

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.

QR code to download the Kindle App

Follow the authors

See all
Something went wrong. Please try your request again later.

C++ Primer (5th Edition) 5th Edition

4.4 out of 5 stars 1,025 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$53.87","priceAmount":53.87,"currencySymbol":"$","integerValue":"53","decimalSeparator":".","fractionalValue":"87","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"XbnuvWSB6DHwcwJhMVYRcNEIaZPPCW8NcZh9BNbjk2AK9gxdwIdwf9T1aF1yjV0c6nS1vQNqXCOiioC4oYggEPrwbJXgmt2W1tGdfqZQo8wXisQNltuw%2B61kcGaTB%2Fvfia7iT0xS2MjZfdvEJSzwBA%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$40.56","priceAmount":40.56,"currencySymbol":"$","integerValue":"40","decimalSeparator":".","fractionalValue":"56","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"XbnuvWSB6DHwcwJhMVYRcNEIaZPPCW8NkUUn4SPjZ8hneuE89f%2BW6PtD%2FwxbgatP78jYD6qGweE6IUIWKXq%2BJslfHrhVOG8UAE9ejeyAYYLxvCkpbedeth8oNHtbIIOxsVA1dKC46oUzYbsy2za1ni4E15Fg6mnMOR99%2Ba2q9GNtbY8trtfNyZnAJhy6kvvA","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Bestselling Programming Tutorial and Reference Completely Rewritten for the New C++11 Standard

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.

Frequently bought together

This item: C++ Primer (5th Edition)
$53.87
Get it as soon as Monday, Jun 16
In Stock
Ships from and sold by Amazon.com.
+
$27.30
Get it as soon as Monday, Jun 16
In Stock
Ships from and sold by Amazon.com.
+
$47.26
Get it as soon as Monday, Jun 16
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

From the Publisher

Tour of C++ 3rd Edition

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
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 $41.22 $44.99 $44.21 $78.87 $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
  • Customer Reviews:
    4.4 out of 5 stars 1,025 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.4 out of 5 stars
1,025 global ratings

Review this product

Share your thoughts with other customers

Customers 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.

102 customers mention "Readability"72 positive30 negative

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

56 customers mention "C++ learning"41 positive15 negative

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

7 customers mention "Value for money"7 positive0 negative

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

5 customers mention "Coverage"5 positive0 negative

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

4 customers mention "Book style"4 positive0 negative

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

12 customers mention "Compatibility"0 positive12 negative

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

8 customers mention "Printing quality"0 positive8 negative

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

4 customers mention "Book formatting"0 positive4 negative

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

Five Stars
5 out of 5 stars
Five Stars
Is this normal? The spine of this book seems to be stripped out when I received this book.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on April 22, 2025
    Format: PaperbackVerified Purchase
    made C++ make sense for me
  • Reviewed in the United States on May 25, 2020
    Format: PaperbackVerified Purchase
    I 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.
    41 people found this helpful
    Report
  • Reviewed in the United States on April 4, 2025
    Format: PaperbackVerified Purchase
    This 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, 2016
    Format: PaperbackVerified Purchase
    This 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).
    116 people found this helpful
    Report
  • Reviewed in the United States on June 17, 2024
    Format: PaperbackVerified Purchase
    I 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++
    One person found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Jayanth
    5.0 out of 5 stars Excellent book. Comes highly recommended. Great for beginners.
    Reviewed in India on June 28, 2018
    Format: eTextbookVerified Purchase
    Super 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 christophe
    5.0 out of 5 stars Complet
    Reviewed in France on April 9, 2020
    Format: PaperbackVerified Purchase
    Enseignement 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.
    Report
  • JoeriD
    3.0 out of 5 stars Boekcontent volgens verwachting, onzorgvuldig verpakt
    Reviewed in Belgium on January 14, 2024
    Format: PaperbackVerified Purchase
    Het 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 Sawh
    5.0 out of 5 stars C++ Primer textbook review
    Reviewed in Canada on October 5, 2024
    Format: PaperbackVerified Purchase
    This 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.
  • Daniel
    5.0 out of 5 stars Muy completo
    Reviewed in Spain on April 25, 2025
    Format: PaperbackVerified Purchase
    Guia muy completa para la iniciación en C++