Morgan Stanley | Columbia University | Churchill College, Cambridge

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

Errata for 2?th printing of The C++ Programming Language

Modified December 21, 2006

Errata for Bjarne Stroustrup: The C++ Programming Language (special edition), Addison-Wesley, 2000. ISBN0-201-70073-5. Errata for the 14th printing. Also for the 2?th printing of "The C++ Programming Language (3rd edition). I don't currently know to which edition of the 3rd/soft-cover edition these corrections will be applied.


Typos, Errors, and Clarifications


Preface :

Due to a mistake at the publishers, this preface was replaced by a new preface to The Design and Evolution of C++.

Chapter 1:

Chapter 2:

Chapter 3:

Chapter 7:

pg 143 s/sr2/sq2/

Chapter 13:

pg 334 s/the sort() defined in/the ssort() defined in/

Chapter 17:

pg 462 s/For more details, read your standard headers/ For more details, read the standard or look at your standard headers/

pg 495 s/b.template to_string/b.to_string/

pg 495 s/and rare syntax (sec C.13.6)/syntax/

Chapter 19:

pg 577 s/set n bytes/set p[0]..p[n-1]/

Chapter 21:

pg 636 add "s.width(bf.f.wdt);" to the definition of operator<<()

Appendix A:

Appendix B:

Appendix C:

Appendix D:

Appendix E:

pg 943 s/a.allocate(n)/alloc.allocate(n)

pg 944 s/swap(a.a,b.a)/swap(a.alloc,b.alloc)/

pg 951 s/vector v/vector/

Morgan Stanley | Columbia University | Churchill College, Cambridge

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