The C++ Programming Language (4th Edition) Addison-Wesley ISBN 978-0321563842. May 2013. Order directly from the publisher! (There is also an electronic version, and a hardcover version)

Modified October 27, 2018

Romainian translation of this page.

See also C++11 FAQ and The C++ Programming Language (Special Edition).

Available here:

The Preface

Extended Table of Contents. Not in printed version. I didn't think it was worth an extra 1000 lines. Each chapter starts with its own table of contents.

Exercises. Not in printed version. I did not want to add another 80 pages to the book and I want to be able to add and change exercises over the years. The collection of exercises should be complete (if minimal) ASAP.

Concept code. I have so far failed to get my ``taylor made'' and stable version ready for posting, but see Andrew Sutton's Origin library on which the book's concepts are based.

If you are looking for an an introduction to programming for people who has never programmed before, consider Programming -- Principles and Practice Using C++. That book is also be useful for people who have programmed a bit and want to improve their style and technique - or to simply learn modern C++. It is designed for classroom use, but written with an eye on self study.

Errata

X x1 {2}; // construct from integer (assume suitable constructor) X x2 {x1}; // copy construction: fails on GCC 4.8 and Clang 3.2

X x3(x1); // copy construction X x4 = x1; // copy construction

Apologies if I missed a name.

Some might find it reassuring that many (most?) problems were spotted by several people.

Previous Editions

Reviews

Interviews

Translations