C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. This tag should be used for any question which requires knowledge or expertise with the C++ programming language. This is a general tag which is used for any of the C++ language standards (C++98, C++11, C++17, etc.). The question should identify the compiler being used, the operating system, and which of the C++ standards is being targeted.
Code Review Snippets
As an experiment I am starting to collect snippets of common Code Review things that happen repeatedly here: Code Review
C++ is a statically-typed, free-form, (usually) compiled, multi-paradigm, intermediate-level, general-purpose programming language not to be confused with C. It was developed in the early 1980's by Bjarne Stroustrup as a set of extensions to the C programming language. Building on C, C++ improved type-safety and added support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.
New to C++?
Whether you are new to programming or are coming to C++ from another programming language, it is highly recommended to have a good book from which to learn the language. Stack Overflow keeps a detailed list of books.
If you are looking for a good compiler, g++ is the most commonly used compiler on Linux and other platforms, clang is the official compiler on Mac and FreeBSD, and Microsoft Visual C++ is the most commonly used on Windows.
- Live Workspace
- rextester (Can also compile with MSVC)
- ELLCC (LLVM and more, can output assembly)
Other External Resources
- C++ Core Guidelines - a semi-official project collecting many guidelines for coding practice, headed by Bjarne Stroustrup and Herb Sutter, but contributed to by many. Under active "development" as of 2017 (hence it's on GitHub).
- ISO C++ website
- C++ Reference
- ISO's C++ Standards Committee's Papers
- Guru of the Week: article series on high-quality, exception-safe C++ code
- Revised Guru of the Week (for C++14)
- SGI's Standard Template Library Programmer's Guide
- More C++ Idioms
- Boost C++ Libraries
- Where do I find the current C or C++ standard documents?
- C, C++, & Objective C