C++ Primer (4th Edition)

C++ Primer (4th Edition)
by Stanley B. Lippman, Josée Lajoie, Barbara E. Moo

C++ Primer (4th Edition)
List Price: $59.99
Our Price: $40.82
You Save: $19.17 (32%)
Availability: Usually ships in 24 hours
Buy Used: from $24.82 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Barbara E. Moo, Josée Lajoie, Stanley B. Lippman
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2005-02-24
ISBN: 0201721481
Number of pages: 912
Publisher: Addison-Wesley Professional

Book Reviews of C++ Primer (4th Edition)

Book Review: A good first C++ book which is also a great second book and a useful reference
Summary: 5 Stars

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

Summary of C++ Primer (4th Edition)

"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


This new edition of C++ Primer, a favorite choice for a first C++ book, has been greatly improved with the latest and greatest on C++, stressing the built-in language features of the C++ Standard Library. For this new version--weighing in at a massive 1,237 pages--Stanley Lippman, a well-known C++ expert, teams up with Josée Lajoie, who has helped define the C++ international language standard. The new material is excellent for programmers who want to get the most out of new and advanced features in the language.

The authors still introduce the basics of C++, including data types and pointers, but quickly move on to stress how to get the most out of the built-in features of ISO-standard C++. Throughout this book built-in support for the C++ Standard Library, such as container classes like vectors and maps, and other standard features, such as the string class, are integrated into a tried-and- proven basic-language tutorial.

The major new features of C++ (templates, name spaces, and run-time type identification) all get their due. The result is an authoritative guide to basic and advanced C++ in a clear and readable style, with plenty of short, practical examples throughout the text. The book includes exercises--some quite challenging--for every section: a perfect choice both for self-study and the classroom. --Richard Dragan

C & C++ Windows Programming Books

Book Subjects
Most talked about in C & C++ Windows Programming Books
Turbo C++: An Introduction to Computing, 2 volume set ImageTurbo C++: An Introduction to Computing, 2 volume set
by Joel Adams, Sanford Leestma, Larry Nyhoff
Prentice Hall; Published: 1995-12-13; Textbook Binding; Book
Best price: $106.00
C How to Program (5th Edition) ImageC How to Program (5th Edition)
by Paul J. Deitel
Prentice Hall; Published: 2006-09-04; Paperback; Book
Best price: $48.00
Price in other shops: $123.00
Introduction to C++ ImageIntroduction to C++
by Delores M Etter, Jeanine A Ingber
Prentice Hall; Published: 2006-05-28; Paperback; Book
C++/C# Programmer's Guide for Windows 2000 ImageC++/ C# Programmer's Guide for Windows 2000
by Ronald D. Reeves
Prentice Hall; Published: 2001-08-27; Paperback; Book
Best price: $1.99
Price in other shops: $49.99
Introduction to MFC Programming with Visual C++ ImageIntroduction to MFC Programming with Visual C++
by Richard M. Jones
Prentice Hall; Published: 2000-01-01; Paperback; Book
Best price: $19.99
Price in other shops: $69.99
Virtual Reality Excursions: With Programs in C ImageVirtual Reality Excursions: With Programs in C
by Christopher D. Watkins, Stephen R. Marenka
Morgan Kaufmann Pub; Published: 1994-02; Hardcover; Book
Best price: $38.00
Price in other shops: $39.95
Programming Primer for the Macintosh/Book and Disk ImageProgramming Primer for the Macintosh/ Book and Disk
by John C. May, Judy B. Whittle
Morgan Kaufmann Pub; Published: 1994-10; Paperback; Book
Best price: $119.25
C++ from the Ground Up ImageC++ from the Ground Up
by Herbert Schildt
Mcgraw-Hill Osborne Media; Published: 1998-01-01; Paperback; Book
Best price: $4.99
Price in other shops: $34.99
Absolute C++ (2nd Edition) ImageAbsolute C++ (2nd Edition)
by Walter Savitch
Addison Wesley; Published: 2005-02-21; Paperback; Book
Best price: $34.00
Price in other shops: $107.40
C++ Primer (2nd Edition) ImageC++ Primer (2nd Edition)
by Stanley B. Lippman
Addison-Wesley Pub (Sd); Published: 1991-07-16; Paperback; Book
Best price: $4.60
Price in other shops: $42.95
Similar Books and other products
Programming: Principles and Practice Using C++ ImageProgramming: Principles and Practice Using C++
by Bjarne Stroustrup
Addison-Wesley Professional; Published: 2008-12-25; Paperback; Book
Best price: $33.38
Price in other shops: $74.99
Thinking in C++: Introduction to Standard C++, Volume One (2nd Edition) (Vol 1) ImageThinking in C++: Introduction to Standard C++, Volume One (2nd Edition) (Vol 1)
by Bruce Eckel
Prentice Hall; Published: 2000-03-25; Paperback; Book
Best price: $35.00
Price in other shops: $70.20
Code Complete: A Practical Handbook of Software Construction ImageCode Complete: A Practical Handbook of Software Construction
by Steve McConnell
Microsoft; Microsoft Press; Published: 2004-07-07; Paperback; Book
Best price: $24.99
Price in other shops: $49.99
C++ How to Program (7th Edition) ImageC++ How to Program (7th Edition)
by Paul Deitel, Harvey M. Deitel
Prentice Hall; Published: 2009-08-16; Paperback; Book
Best price: $79.05
Price in other shops: $135.00
The C++ Standard Library: A Tutorial and Reference ImageThe C++ Standard Library: A Tutorial and Reference
by Nicolai M. Josuttis
Addison-Wesley Professional; Published: 1999-08-22; Hardcover; Book
Best price: $44.49
Price in other shops: $79.99
The C++ Programming Language: Special Edition ImageThe C++ Programming Language: Special Edition
by Bjarne Stroustrup
Addison-Wesley Professional; Published: 2000-02-11; Hardcover; Book
Best price: $51.50
Price in other shops: $89.99
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition) ImageEffective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)
by Scott Meyers
Addison-Wesley Professional; Published: 2005-05-22; Paperback; Book
Best price: $28.49
Price in other shops: $49.99
C++ Primer Plus (5th Edition) ImageC++ Primer Plus (5th Edition)
by Stephen Prata
Sams; Published: 2004-11-25; Paperback; Book
Best price: $45.00
Price in other shops: $59.99
C++ Primer Plus (6th Edition) (Developer's Library) ImageC++ Primer Plus (6th Edition) (Developer's Library)
by Stephen Prata
Addison-Wesley Professional; Published: 2011-10-28; Paperback; Book
Best price: $33.77
Price in other shops: $59.99
Accelerated C++: Practical Programming by Example ImageAccelerated C++: Practical Programming by Example
by Andrew Koenig, Barbara E. Moo
Addison-Wesley Professional; Published: 2000-08-24; Paperback; Book
Best price: $26.99
Price in other shops: $49.99
Book store. Illustrated catalog of books on different categories