Skip to content
C++ Better Explained
Go back
C++ Primer vs C++ Primer Plus: Which Should You Buy?

C++ Primer vs C++ Primer Plus: Which Should You Buy?

Short answer: they’re two completely different books that happen to share most of a name. C++ Primer (Lippman, Lajoie and Moo) is precise and thorough, and suits people who have programmed before. C++ Primer Plus (Stephen Prata) is gentler and more step-by-step, but it’s 1,440 pages and its print edition is out of print. Both cover C++11.

Disclosure: I wrote C++ Better Explained, a paid book for beginners. I’ll say plainly where one of these two is the better choice.


Why the Names Are So Confusing

The two books have different authors and were written independently. They’re both published by Addison-Wesley, though, and both use “primer” in the old publishing sense: a thorough foundational text, not a quick start. It’s easy to order one when you meant the other.

Side by Side

C++ PrimerC++ Primer Plus
AuthorsStanley Lippman, Josée Lajoie, Barbara MooStephen Prata
Current edition5th, 20126th, 2011
LengthJust under 1,000 pages1,440 pages
C++ standardC++11C++11
StylePrecise and denseGradual, many short examples
Best forPeople who have programmed beforePatient beginners
Availability5th edition available (a 6th is listed but not for sale)Print edition out of print; eBook still sold

C++ Primer

What it does well: it’s careful and exact. Definitions are right, concepts arrive in a sensible order, and it introduces std::string and std::vector before C-style arrays and raw pointers. Once you know C++, it stays useful as a reference for years.

Where it’s hard: it moves quickly for someone who has never programmed, and it’s close to 1,000 pages. A 6th edition has been listed by the publisher for a long time, but as of this writing it isn’t for sale, so the 5th is the one to buy.

More in our full review: Is C++ Primer good for beginners?

C++ Primer Plus

What it does well: it teaches programming as well as C++. The publisher describes it as covering programming fundamentals, including structured code and top-down design, with many short examples that each show one or two ideas at a time. Every chapter ends with review questions and programming exercises, and there’s a chapter on what C++11 added.

Where it’s hard:

Which Should You Choose?

Are They Outdated?

Both describe C++11. Everything they teach is still valid C++, but neither covers what’s been added since: nothing from C++14, C++17, C++20 or C++23. If you learn from either, plan to catch up later with something newer, such as the free learncpp.com, which includes an appendix on each standard from C++11 to C++23.

If Neither Fits

The Verdict

If you already program, C++ Primer is the better book. If you’re starting from zero, C++ Primer Plus is the gentler of the two, but at 1,440 pages and from 2011, you may be better served by a newer or shorter book first. Either way, don’t buy the wrong one by accident: check the authors on the cover.


Take Your C++ Further

C++ Better Explained ebook cover

If you'd like the fundamentals explained in one place, C++ Better Explained covers them in 87 plain-English pages, with analogies and code diagrams, including the parts that trip beginners up most: pointers, memory and OOP.

Get the book — $19

87 pages · plain English · 30-day money-back guarantee


📋

Free Download: The 10 Mistakes Every C++ Beginner Makes

A free 1-page checklist that shows the exact traps that slow down every C++ beginner — so you can avoid them from day one.

🔒 No spam. Unsubscribe anytime.


Share this post on:

Written by

Sahil Bora

Software Engineer. Author and creator of C++ Better Explained.


Previous Post
How to Fix 'no matching function for call to' in C++
Next Post
How to Fix stray '\342' in program Errors in C++

Keep Learning