What are the main features of C++?
- Compiled and fast: machine code with almost no overhead.
- Object oriented: classes, inheritance, polymorphism, encapsulation, abstraction.
- Generic programming: templates and concepts.
- STL: ready containers, iterators and algorithms.
- Memory control: pointers, references,
newanddelete, and smart pointers. - RAII: resources are freed by destructors, with no garbage collector.
- Operator overloading and function overloading.
- Multi paradigm and portable across systems.
See C++ Features.
Learn more about the similar topics:
| Tutorials |
|---|
| C++ Introduction |
| C++ History and Versions |
| C++ Features |
| C++ vs C |
| C++ Installation and Setup |
| Your First C++ Program: Hello World |
| C++ Syntax |
| Exercises & Assignments |
|---|
| No Content Found. |