TechnologyProgramming language

C++

Also known as: CPP, C with Classes

General-purpose programming language created by Bjarne Stroustrup as an extension of C, combining low-level control with high-level abstractions.

C++ is a compiled, statically typed programming language that extends C with classes, templates, exceptions, operator overloading and a large standard library. It supports procedural, object-oriented and generic programming, and its guiding principle is zero-overhead abstraction: features a program does not use should cost nothing, and those it uses should be as efficient as hand-written code. Resource acquisition is initialization (RAII) ties resource management to object lifetimes, a pattern central to idiomatic C++.

Bjarne Stroustrup began the language in 1979 at Bell Labs as C with Classes, renamed it C++ in 1983 and released it commercially in 1985 alongside his book "The C++ Programming Language". The first ISO standard appeared in 1998, and C++11 substantially updated the language with move semantics, lambda expressions, smart pointers and a memory model for threads. Since then a revised standard has been published every three years, including C++14, C++17, C++20 and C++23.

C++ powers performance-sensitive software, including web browsers, databases, financial systems, scientific computing and most major game engines, such as Unreal Engine. Its size and complexity are frequent criticisms, and because it retains C's manual memory model, memory-safety bugs remain a security concern. Responses include coding guidelines, smart pointers, static analysis and proposals for safety profiles, while some projects adopt Rust for fresh components. Its long backward compatibility lets decades-old code keep compiling.

Key points

  • C++ extends C with classes, templates and a large standard library.
  • Bjarne Stroustrup created it at Bell Labs, beginning in 1979.
  • C++11 was a major update, and revised standards appear every three years.
  • Most major game engines, including Unreal Engine, are written in C++.

Related entries

Technology

C

ProgrammingHardware

General-purpose programming language created by Dennis Ritchie at Bell Labs in the early 1970s, foundational for operating systems and embedded software.

Organization

Bell Labs

HardwareProgrammingIdeas and Culture

Industrial research laboratory, founded in 1925, where the transistor, information theory, Unix and the C programming language were created.

Glossary term

Programming paradigm that organizes software around objects, which bundle data with the methods that operate on it and interact by sending messages.

Technology

Unreal Engine

Video GamesProgramming

Game engine from Epic Games known for high-end real-time 3D graphics, used for games, film production, visualization and simulation.

Glossary term

Game Engine

Video GamesProgramming

Software framework that provides the core systems for building games, such as rendering, physics, audio, input, scripting and editing tools.

Technology

Rust

ProgrammingFOSS

Systems programming language that guarantees memory safety without a garbage collector through its ownership model, first stable in 2015.

Glossary term

Compiler

Programming

Program that translates source code written in one programming language, usually a high-level one, into another form such as machine code.

Glossary term

Pointer

Programming

Variable that stores the memory address of another value, letting programs refer to data indirectly and build linked structures.

Referenced by

Other entries that discuss or point to C++.