What are the advantages of C++?
C++ was developed to be an improvement over C. Hence, it offers native support for object oriented programming, and hence includes classes, inheritance, polymorphism, data abstraction and encapsulation. It also uses multi-paradigm programming and follows three paradigms: Generic, Imperative, and Object Oriented. It also provides high level abstraction and is compatible with C.
C++ is also highly portable which allows it to be used over multiple devices and platforms. It also has a rich standard library that allows one to redeclare variables in the midst of code and one line comments. It also allows reusability of code and uses inheritance and polymorphism.
C++ is generally considered to be a powerful, efficient and fast language with numerous applications, including but not limited to GUI, 3D graphics, and real-time mathematical simulations.