home | C++ | FAQ | technical FAQ | publications | WG21 papers | TC++PL | Tour++ | Programming | D&E | bio | interviews | videos | quotes | applications | guidelines | compilers

Errata for 3rd printing of A Tour of C++ (3rd edition)

Modified December 19, 2022.

Errata for Bjarne Stroustrup: A Tour of C++ (3rdd edition), Addison-Wesley, 2022. ISBN 978-0-13-499783-4.

Errata for the 1st printing.

There seem to be a wide variety of opinion how much errata should be posted and how it should be presented. I have decided to post only errata that in my opinion may affect comprehension.

I do correct all typos and minor gramatical issues in future printings, and I may insert minor clarifications in the book. I just don't post them all as errata. All comment and corrections are welcome.

I often use the terse notation: s/old text/new text/


Errors and Clarifications

pg 7: s/0x3.243F'6A88'85A3'08D3/0x1.921F'B544'42D1'8P+1/.

pg 55: The copy constructor is not needed, and if it is supplied, it should be complex(const complex& z) :re{ z.re }, im{ z.im } {}.

Thanks to all who reported problems.

home | C++ | FAQ | technical FAQ | publications | WG21 papers | TC++PL | Tour++ | Programming | D&E | bio | interviews | videos | quotes | applications | guidelines | compilers