Loading lessons...
What is C++?
What is C++?
C++ is a popular, high-performance programming language. It's one of the languages that powers a huge chunk of the modern world.
Where did it come from?
C++ is an extension of an older language called C. They belong to the same syntax family, so code in C++ reads a lot like "C with extras".
What is C++ used for?
- Games and game engines
- Operating systems
- Web browsers
- Embedded software (the tiny computers inside cars and cameras)
- Databases and other big, speed-hungry programs
Object-oriented programming
C++ gives you classes and objects, which help you organize code into reusable blueprints. This way of coding is called object-oriented programming, and it's a big idea in C++.
Compiled and fast
C++ is a compiled language. The entire program is translated into the computer's own language before it runs, so the finished executable runs very fast.
| Language | Runs like | Feels like |
|---|---|---|
| C++ | compiled machine code | very fast |
| Python | interpreted line by line | slower, easy to read |
TL;DR
- C++ is a popular, high-performance language.
- It's an extension of C and shares the C syntax family.
- Used for games, operating systems, browsers, and embedded systems.
- It's object-oriented, compiled, and fast.