🔤C++
Also known as CPP, C Plus Plus
C with classes and much more added. Fast, powerful, and used for games and browsers.
Think of it like
Think of it like a toolbox built around a hammer. The hammer is C, and new tools were added.
Example
A studio in Tokyo writes its racing game's engine in C++. The game draws 60 frames each second.
Why it matters
When software must be both large and very fast, C++ is often the choice. Most big game engines use it.
Definition
Example code
cpp
#include <iostream>
int main() {
std::cout << "Hello, world!\n";
}Common mistake
Key takeaways
- 1Built on C. Most C code also works in C++.
- 2Speed and structure. Fast like C, organised with classes.
- 3Big language. Few people know every part of it.