C++ FAQ

Welcome to the C++ Super-FAQ!

What’s “Super” about this FAQ? In part it’s because this is a merger of two great FAQs: Marshall Cline’s C++ FAQs, and Bjarne Stroustrup’s C++ FAQ. And in part it’s because this is a wiki being continuously updated for modern C++. There are some FAQ topics not yet updated; if you spot one, suggest an improvement using the link on the bar for that FAQ.

We would like to gratefully acknowledge Pearson Education (Addison-Wesley), Marshall Cline, Bjarne Stroustrup, Herb Sutter, and Andrei Alexandrescu for launching this FAQ by freely contributing the contents of Marshall Cline’s online C++ FAQ Lite, Bjarne Stroustrup’s online C++ and C++11 FAQs, and in the near future material from their books C++ FAQs Second Edition by Marshall Cline, Greg Lomow, and Mike Girou, and C++ Coding Standards by Herb Sutter and Andrei Alexandrescu.

C++ FAQ Sections

Overview Topics

Starting From Another Language

General Topics

Classes and Inheritance

Beyond Classes

C++11

C++14

Miscellaneous Q&A