REVIEW - C++ Primer


Title:

C++ Primer

Author:

Stanley B. Lippman, Josée Lajoie, Barbara E. Moo

Publisher:

Addison-Wesley (1998)

Pages:

912pp

Reviewer:

Brian Bramer

Reviewed:

October 1998

Rating:

★★★★★


This is a very good introductory text suitable for a reader with some experience of procedural programming (C, Pascal, Modula 2, etc.) or OO programming. It is fast moving, packed with plenty of example programs and clear detailed explanations... ...Highly recommended!

I have used the second edition of C++ Primer for several years and looked forward to reviewing the third edition, which has been updated to reflect the final draft ISO standard (effectively doubling its size).

The first two chapters present an outline of program structure, operators, control structures, I/O, namespaces, classes, templates, exception handling and STL support for OO concepts. This is very concise, fast moving and presents some quite advanced concepts; the assumption being that the reader already has some experience with a procedural programming language. Chapters three to six cover language basics (types, expressions, statements) placing particular emphasis on the support provided by the STL (complex numbers, strings, stacks, lists, vectors, etc.). Chapter seven to twelve cover procedural programming (functions, overloading, templates, generic algorithms) with chapters seventeen to twenty covering OO programming (implementing classes, inheritance, RTTI, etc.).

This is a very good introductory text suitable for a reader with some experience of procedural programming (C, Pascal, Modula 2, etc.) or OO programming. It is fast moving, packed with plenty of example programs and clear detailed explanations. The early use of STL facilities allow the use of powerful tools before having to understand implementation details. I liked coverage of procedural programming techniques followed by OO. This enables readers to use and appreciate objects without having to plunge into the implementation details of classes. I am aware many OO enthusiasts disagree with such an approach saying that one should be implementing classes from day one (even before you know how to write expressions and implement functions?). It covers advanced topics in detail and is therefore also suitable for the professional programmer. Highly recommended!


Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.