Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

What is C++?

C++ is a statically-typed, free-form, (usually) compiled, multi-paradigm, intermediate-level general-purpose programming language; not to be confused with C. Building on C, C++ improved type-safety and added support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.


When you ask a question, be sure to include any relevant source code as a minimal, complete, and verifiable example. If there are any compiler errors, be sure to indicate:

  • Which compiler you are using, including its version.
  • Exact error messages, including the lines on which they occur (mark those lines with comments)

Stack Exchange Resources

history | excerpt history

Code Language (used for syntax highlighting): lang-c