Baobab - Shop now
Buy new:
-53% $28.35
FREE delivery June 18 - 25
Ships from: Kuleli Books
Sold by: Kuleli Books
$28.35 with 53 percent savings
List Price: $59.99
FREE delivery June 18 - 25. Details
Arrives after Father's Day. Need a gift sooner? Send an Amazon Gift Card instantly by email or text message.
Only 1 left in stock - order soon.
$$28.35 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.35
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Kuleli Books
Kuleli Books
Ships from
Kuleli Books
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. You may receive a partial or no refund on used, damaged or materially different returns.
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
$13.60
Get Fast, Free Shipping with Amazon Prime FREE Returns
Ships directly from Amazon! PRIME eligible. Hassle free returns and customer service through Amazon. May contain some highlighting. Supplements such as access codes, CDs etc not guaranteed. Ships directly from Amazon! PRIME eligible. Hassle free returns and customer service through Amazon. May contain some highlighting. Supplements such as access codes, CDs etc not guaranteed. See less
FREE delivery Monday, June 16 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Friday, June 13. Order within 10 hrs 13 mins.
Arrives 2 days before Father's Day
Only 3 left in stock - order soon.
$$28.35 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$28.35
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 author

Something went wrong. Please try your request again later.

C++ Primer 4th Edition

4.0 out of 5 stars 83 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$28.35","priceAmount":28.35,"currencySymbol":"$","integerValue":"28","decimalSeparator":".","fractionalValue":"35","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"AHez7wh2k%2B2ZM5mx5IxjHNsbaEEs5fhw8IVyxbnWRqTFTGpPCUCWVzqJeOlDpQymWk1Pa%2BfGD0fBhck995Abnj%2BGOvl1miFjoZrGAqepFadSC84bBgZG1QVDdzxggVKetQ9LwNRobhPJXrqTwcziq1gNE5%2B4D%2B2vsvdij%2Bn3pazn8lYLROZI0ztOIX%2FBXax%2B","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$13.60","priceAmount":13.60,"currencySymbol":"$","integerValue":"13","decimalSeparator":".","fractionalValue":"60","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"AHez7wh2k%2B2ZM5mx5IxjHNsbaEEs5fhwAKBE5jKltWXireCaC%2BVTWeiaeNA9rGQhaz1dLp64jPuBL5fRtNg5AxjHjWHLCa3K9TEf5SG3GrxXL3fXbnNxEwMV6GrrrC6XHGifyAd0qioETbIZVLUIQT1DYHtZU5dodG%2FvxtpnVHFCORYKy5fOhxqAKke7P3B6","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

"C++ Primer is well known as one of the best books for learning C++ and is useful for C++ programmers of all skill levels. This Fourth Edition not only keeps this tradition alive, it actually improves on it."
--Steve Vinoski, Chief Engineer, Product Innovation, IONA Technologies

"The Primer really brings this large and complex language down to size."
--Justin Shaw, Senior Member of Technical Staff, Electronic Programs Division, The Aerospace Corporation

"It not only gets novices up and running early, but gets them to do so using good programming practices."
--Nevin ":-)" Liber, Senior Principal Engineer (C++ developer since 1988)

This popular tutorial introduction to standard C++ has been completely updated, reorganized, and rewritten to help programmers learn the language faster and use it in a more modern, effective way.

Just as C++ has evolved since the last edition, so has the authors' approach to teaching it. They now introduce the C++ standard library from the beginning, giving readers the means to write useful programs without first having to master every language detail. Highlighting today's best practices, they show how to write programs that are safe, can be built quickly, and yet offer outstanding performance. Examples that take advantage of the library, and explain the features of C++, also show how to make the best use of the language. As in its previous editions, the book's authoritative discussion of fundamental C++ concepts and techniques makes it a valuable resource even for more experienced programmers.

Program Faster and More Effectively with This Rewritten Classic
  • Restructured for quicker learning, using the C++ standard library
  • Updated to teach the most current programming styles and program design techniques
  • Filled with new learning aids that emphasize important points, warn about common pitfalls, suggest good programming practices, and provide general usage tips
  • Complete with exercises that reinforce skills learned
  • Authoritative and comprehensive in its coverage

The source code for the book's extended examples is available on the Web at the address below.

www.awprofessional.com/cpp_primer

Editorial Reviews

From the Back Cover

"C++ Primer is well known as one of the best books for learning C++ and is useful for C++ programmers of all skill levels. This Fourth Edition not only keeps this tradition alive, it actually improves on it."
--Steve Vinoski, Chief Engineer, Product Innovation, IONA Technologies

"The Primer really brings this large and complex language down to size."
--Justin Shaw, Senior Member of Technical Staff, Electronic Programs Division, The Aerospace Corporation

"[It] not only gets novices up and running early, but gets them to do so using good programming practices."
--Nevin ":-)" Liber, Senior Principal Engineer (C++ developer since 1988)

This popular tutorial introduction to standard C++ has been completely updated, reorganized, and rewritten to help programmers learn the language faster and use it in a more modern, effective way.

Just as C++ has evolved since the last edition, so has the authors' approach to teaching it. They now introduce the C++ standard library from the beginning, giving readers the means to write useful programs without first having to master every language detail. Highlighting today's best practices, they show how to write programs that are safe, can be built quickly, and yet offer outstanding performance. Examples that take advantage of the library, and explain the features of C++, also show how to make the best use of the language. As in its previous editions, the book's authoritative discussion of fundamental C++ concepts and techniques makes it a valuable resource even for more experienced programmers.

Program Faster and More Effectively with This Rewritten Classic
  • Restructured for quicker learning, using the C++ standard library
  • Updated to teach the most current programming styles and program design techniques
  • Filled with new learning aids that emphasize important points, warn about common pitfalls, suggest good programming practices, and provide general usage tips
  • Complete with exercises that reinforce skills learned
  • Authoritative and comprehensive in its coverage

About the Author

Stanley B. Lippman is Architect with the Visual C++ development team at Microsoft. Previously, he served as a Distinguished Consultant at the Jet Propulsion Laboratories (JPL). Stan spent more than twelve years at Bell Laboratories, where he worked with Bjarne Stroustrup on the original C++ implementation and the Foundation research project. After Bell Laboratories, Stan worked at Disney Feature Animation, originally as principal software engineer, then as software technical director on Fantasia 2000.

Josée Lajoie is a staff development analyst in the IBM Canada Laboratory C/C++ Compiler group, and is currently the chair of the core language working group for the ANSI/ISO C++ Standard Committee. In addition, she is a regular columnist on the evolution of the C++ Language Standard for the C++ Report..

Barbara E. Moo is an independent consultant with 20 years' experience in the software field. During her nearly 15 years at AT&T, she worked on one of the first commercial products ever written in C++, managed the company's first C++ compiler project, and directed the development of AT&T's award-winning WorldNet Internet service business.



0201721481AB01312005

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional
  • Publication date ‏ : ‎ January 1, 2005
  • Edition ‏ : ‎ 4th
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 885 pages
  • ISBN-10 ‏ : ‎ 0201721481
  • ISBN-13 ‏ : ‎ 978-0201721485
  • Item Weight ‏ : ‎ 2.85 pounds
  • Dimensions ‏ : ‎ 6.75 x 1.5 x 9 inches
  • Customer Reviews:
    4.0 out of 5 stars 83 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Stanley B. Lippman
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

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.

Customer reviews

4 out of 5 stars
83 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book excellent as a general reference, providing detailed explanations of pointers and introducing best programming practices. Moreover, they appreciate its fantastic knowledge of C++ and consider it well worth the money. However, the readability receives mixed feedback, with some finding it easily readable while others say the code examples are unnecessarily complex. Additionally, customers disagree on the book's length, with one noting it's over 800 pages long.

15 customers mention "Explanation quality"13 positive2 negative

Customers find the book's explanations clear and comprehensive, particularly praising its detailed coverage of pointers and introduction to best programming practices.

"...with the many forward and backward cross-references, makes it a great reference both for people who have never read it, and for those who read it a..." Read more

"...you started with programming in the best way and introduce you to the best programming practices, but it can also scare you in the beginning, so you..." Read more

"...The examples are very reflective of the information presented, and they usually include some "won't work" examples so the syntax is clear...." Read more

"...I think Schildt is the master of communicating through code examples, just because his examples do the best job of isolating on the subject at hand...." Read more

12 customers mention "C++ development"12 positive0 negative

Customers praise the book's comprehensive coverage of C++ development, with one customer noting it covers everything of the language, while another highlights its use of modern C++ techniques.

"...In contradistinction to many other popular volumes, this book teaches real C++, not "C with classes", i.e., it contains extensive treatments of the..." Read more

"...Anyway, this is one of the best programming books i've ever read: if you are a computer science student, a programmer who wants to learn C++ or a..." Read more

"...to beginners more than any other for it's clarity and use of modern C++ techniques...." Read more

"...demonstrate each feature will, like the depth of treatment, make you a better programmer, even though it seriously slows you down in the..." Read more

4 customers mention "Value for money"4 positive0 negative

Customers find the book well worth the money.

"...I finished it with great smile: I learned C++ and the money was well spent...." Read more

"...Well worth the money, a great book for both reference and learning." Read more

"The book was new and the price was great. I recommend it for everyone." Read more

"AWESOME DEAL!..." Read more

3 customers mention "Material quality"3 positive0 negative

Customers appreciate the material quality of the book, with one mentioning it provides a solid background and another noting it helps master the content.

"...do take this book, work through it from start to finish, and really master the material, you'll have a fantastic knowledge of C++...." Read more

"...a broad range of concepts in the subject and the material is presented in a very logical and orderly manner...." Read more

"...C++ language and give the newcomers to programming (in general) a solid background...." Read more

12 customers mention "Readable"7 positive5 negative

Customers have mixed opinions about the readability of the book, with some finding it well written and easily readable, while others note that the code examples are unnecessarily complex and the content is too unorganized.

"...there are exercises at the end of most sections; these are well thought out, and greatly facilitate the reader's learning..." Read more

"...This version is completely wrecked and unreadable. The formatting is all messed up. Headers and footers are all interspersed in with the text." Read more

"...In contrast, This 4th ed. C++ primer is concise and meanwhile intensively convering almost every aspect about c++ that a novice shall be aware of...." Read more

"...in the subject and the material is presented in a very logical and orderly manner. My order arrived quickly and in very good condition." Read more

6 customers mention "Length"3 positive3 negative

Customers have mixed opinions about the book's length, with one finding it not too long, while another mentions it being over 800 pages.

"...The Good: This book is over 800 pages long, and it is quite complete in its coverage, but it is highly readable...." Read more

"...The answer comes down to style. This book rarely expends space on full-length, executable code examples...." Read more

"...only thing i disliked about the book, funny to say, is that while not too long (the fourth edition is about 800 pages long), the book is so full of..." Read more

"The print is so small that you may need a magnifier to read it. The type is not very dark, either...." Read more

Top reviews from the United States

  • Reviewed in the United States on March 7, 2010
    Format: PaperbackVerified Purchase
    As pointed out in other reviews: compared to previous editions, the 4th edition of the "C++ Primer" is considerably different (and shorter). For this edition, Barbara E. Moo (co-author of "Accelerated C++"), a long-time programmer and writer, vastly revamped and enhanced Stan Lippman's (and Josee Lajoie's) classic.

    The Good: This book is over 800 pages long, and it is quite complete in its coverage, but it is highly readable. The "C++ Primer" can be used as an introductory text: the authors have interspersed a myriad of code snippets throughout the text (which they also integrated into complete working programs; these are provided on the publisher's website, packaged for different platforms). Similarly, there are exercises at the end of most sections; these are well thought out, and greatly facilitate the reader's learning (unauthorized solutions exist on the web in the form of a wiki). Furthermore, throughout the book parts of the text have been highlighted to call attention to common pitfalls, good programming practices, and important concepts. Finally, each chapter concludes with a summary and a glossary of defined terms. In contradistinction to many other popular volumes, this book teaches real C++, not "C with classes", i.e., it contains extensive treatments of the standard library containers and algorithms, of object-oriented programming, and of generic programming. For example, the coverage of the standard library in this book is much more extensive than in "C++ Primer Plus" by Stephen Prata, a book that is often compared with (or confused with) the "C++ Primer". Even so, the "C++ Primer" also covers a number of older topics such as C-style character strings, lower-level bit manipulation of integral values, and old-style casts. The material in this book is thematically organized (pointers, expressions, functions, classes, constructors, object-oriented programming, template programming, etc.). This, along with the many forward and backward cross-references, makes it a great reference both for people who have never read it, and for those who read it a while back.

    The Bad: Object-oriented programming is covered in approximately 60 pages. The coverage is solid, just like in the rest of the book, but it is condensed. For the sake of comparison: Josuttis's book "Object-Oriented Programming in C++" devotes 170 pages on more or less the same topics. In other words, an object-oriented design background, while not strictly necessary, would make reading this book easier. This aspect of "condensedness" is a more general feature of reading the "C++ Primer": even though the book is quite long, there is no filler material. This slows the reader down, so it might interfere with one's progress when using this as a first C++ book. For example, the first 300 pages (perhaps mention but) do not discuss in detail the standard library algorithms, smart pointers, object-oriented or generic programming, and other aspects of professional C++ development. A related point: I mentioned above that the book works as a reference since it is complete and contains many cross-references. A side-effect of this is that some of the earlier chapters make repeated mention of topics that have not yet been covered; that's great if this is your second C++ book (since it means every chapter is complete), but is potentially too much information for a total newbie. Finally, this book was intentionally limited to Standard C++. As a result, it doesn't talk about TR1 (a specification for functionality being added to C++'s standard library) or boost (a collection of libraries offering TR1 implementations and much more), or threading in C++. A 5th edition of the "C++ Primer" will probably appear after the new standard (still known as C++0x) comes out.

    Despite the few drawbacks that I have noted above, I believe that this is a wonderful book which deserves 5 stars.

    ----------------

    Here are my suggestions on related reading.

    Recommended prequel:

    * Accelerated C++, by Andrew Koenig and Barbara E. Moo

    An excellent first book on C++. Goes through many topics quite fast, but is highly readable. Covers essentially all of standard C++ in under 300 pages (see also my review of it on amazon).

    Recommended follow-up:

    * Effective C++, 3rd edition, by Scott Meyers

    This assumes you have already come across all of the material contained in the "C++ Primer". It offers solid advice on numerous aspects of effective C++ development. Meyers also describes a few design patterns as well as more modern topics like TR1.

    Alexandros Gezerlis
    19 people found this helpful
    Report
  • Reviewed in the United States on July 15, 2008
    Format: PaperbackVerified Purchase
    In the last year i had two computer science exams about C++ programming.
    I had never seriously studied programming before, so i was surprised with almost infinite potentialities of this language.

    However, modern C++ is a lot different from the one most books try to teach: i've got a lot of C++ books like Deitels' and Schlidt's, but all they offer is a overview of a "pre-standard-like" C++: a lot of chapters and exercises on arrays, pointers, C-like-strings, just like this was the core of the modern C++ language.

    This book focuses instead on the things a C++ programmer should know today, his swiss-army-knife: the STL and the standard library. The book introduces vectors and strings first, then compares them with old-fashioned arrays/pointers and char*s.
    This is not a book about introducing "new stuff" into the C programming language, but about learning C++ like a whole new language, thus changing the way you approach programming (a lot of other books introduces STL only in the last 2 o 3 chapters!).

    The only thing i disliked about the book, funny to say, is that while not too long (the fourth edition is about 800 pages long), the book is so full of contents that a newcomer may probably find it overwhelming.
    Not only it introduces classes and STL in the first chapters, but it also goes in a much deeper level of detail than other books, so if you haven't any programming (and, maybe a little C++) experience, you'll probably be going "back and forth" searching for concepts and explaination you didn't care too much about (like the notions about constructors given in the first chapter, wich would seem rather abstract if you don't know how a data structure is realized).

    Anyway, this is one of the best programming books i've ever read: if you are a computer science student, a programmer who wants to learn C++ or a C++ programmer who wants to really understand "what's behind the scenes", you have to buy this!
    If you are a novice in programming, this book could make you started with programming in the best way and introduce you to the best programming practices, but it can also scare you in the beginning, so you'd probably want to start elsewhere (probably with Accelerated C++, or C++ Primer Plus).
    5 people found this helpful
    Report
  • Reviewed in the United States on January 12, 2023
    This review is specifically about the Kindle version of the book. This version is completely wrecked and unreadable. The formatting is all messed up. Headers and footers are all interspersed in with the text.
    One person found this helpful
    Report
  • Reviewed in the United States on January 15, 2011
    Format: PaperbackVerified Purchase
    I am an experienced C programmer and writing software is my job.

    Note that there are no answers to the exercises in the book. There is a separate answers book, but that is for the 3rd edition which is supposedly quite different. I don't think that is a reason to not buy the book. However, because of that fact it will NEVER get 5 stars from me -- maybe not even 4 stars. How can you learn from a book like this without finding out if you did the exercises right or not??

    Luckily, internet to the rescue: google "C++ Primer 4th Edition answers" and you'll find a wiki site with answers.

    I'm now half-way through the book and have found the book to explain everything in a clear and comprehensive way. The examples are very reflective of the information presented, and they usually include some "won't work" examples so the syntax is clear. I believe it's teaching style creates a programmer who thinks in the C++ language. I'm already writing my own apps and maintaining and upgrading C++ software at work.

    From searching the C++ forums, where programmers hang out, I found this book is recommended to beginners more than any other for it's clarity and use of modern C++ techniques. So far I recommend this way over "Accelerated C++" which I didn't feel prepared me to write anything but the application it was presenting. So far C++ Primer explains everything much more thoroughly and still has a similar C++ without C approach.
    5 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Amazon Customer
    4.0 out of 5 stars Informatica
    Reviewed in Brazil on October 6, 2021
    Format: PaperbackVerified Purchase
    Adequado à sua aplicação.
    Report
  • Lucas Strong
    5.0 out of 5 stars Awesome..
    Reviewed in the United Kingdom on November 16, 2014
    Format: PaperbackVerified Purchase
    Learnt C++ in 6 weeks..
  • MARIGOT Radja
    5.0 out of 5 stars Qualité du produit
    Reviewed in France on January 29, 2020
    Format: PaperbackVerified Purchase
    Très bon état
  • eemz
    3.0 out of 5 stars The original was better, peaking about rev 2
    Reviewed in the United Kingdom on March 3, 2017
    Format: PaperbackVerified Purchase
    The original was better, peaking about rev 2. Later ones are all about templates etc and watering down the basic message