code

The C++ programming language was incrementally developed by Bjarne Stroustrup in the early 1980s, originally as an extended C compiler named Cfront but eventually as an alternative. The language has gone under much revision and has been made standard with C++11, C++20 and C++23. While heavily based on C and maintaining high compatibility, C++ added powerful object-oriented and generic programming features like classes, templates, and exception handling.

Code Examples
Standard input

Standard output

Standard error

Array

Hello World

#include <iostream>

int main() {
    std::cout << "Hello, World!\n";
}

C++ articles

Wikibooks

See Also

External Links