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, new and delete, 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.
Interview Questions & Answers
What is C++?
What are the main features of C++?
What is the difference between C and C++?
What are the different versions (standards) of C++?
What is the use of #include in C++?
What is the difference between cout and printf in C++?
What is the difference between endl and \n in C++?