# C++

> C with classes and much more added. Fast, powerful, and used for games and browsers.

**Field:** Software Development  
**Category:** Languages  
**Also known as:** CPP, C Plus Plus

## Think of it like

Think of it like a toolbox built around a hammer. The hammer is C, and new tools were added.

## Definition

C++ is a language built on C that adds classes and more. Bjarne Stroustrup started it at Bell Labs in 1979. It keeps C's speed and control over memory, and adds ways to organise large programs. Game engines, web browsers and trading systems often use it. It is powerful, but large and hard to learn fully.

## Example

A studio in Tokyo writes its racing game's engine in C++. The game draws 60 frames each second.

## Example code

```cpp
#include <iostream>

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

The C++ way to print uses std::cout and the << sign.

## Why it matters

When software must be both large and very fast, C++ is often the choice. Most big game engines use it.

## Common mistake

Treating C++ as C with a few extras. Modern C++ has its own style, and old C habits cause bugs in it.

## Three principles

- **Built on C.** Most C code also works in C++.
- **Speed and structure.** Fast like C, organised with classes.
- **Big language.** Few people know every part of it.

## Related terms

- [C](https://learn.benibix.com/term/development/c-language)
- [Rust](https://learn.benibix.com/term/development/rust)
- [Compiled Language](https://learn.benibix.com/term/development/compiled-language)
- [Low-Level Language](https://learn.benibix.com/term/development/low-level-language)
- [Unreal Engine](https://learn.benibix.com/term/development/unreal-engine)

## Told apart from

- [C vs C++](https://learn.benibix.com/compare/c-vs-c-plus-plus): C++ was built on top of C. It keeps the speed of C and adds classes, which makes it a far bigger language to learn.

## Taught in

- [C, C++, Rust and Go](https://learn.benibix.com/learn/development-languages/c-c-plus-plus-rust-and-go): Programming Languages, 8/12

---

Source: https://learn.benibix.com/term/development/c-plus-plus
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
