C++ is a general-purpose, middle-level programming language, with high and low-level programming capabilities, and this is one of the most popular commercial programming languages.
C++ is a multi-paradigm programming language that supports object-oriented programming(OOP).
Uses of C++
C++ is used by programmers to create computer software. It is used to create general systems software, drivers for various computer devices, software for servers and software for specific applications and also widely used in the creation of video games.
C++ is mostly used to write device driver programs, system software, and applications that depend on direct hardware manipulation under real-time constraints.
OOP and C++
C++ supports OOP with four major principles of OOD:1
2
3
4Abstraction
Encapsulation
Inheritance
Polymorphism
Features of OO C++
- the main focus remains on data rather than procedures
- Object-oriented programs are segmented into parts called objects
- Data sturctures are designed to categorize the objects
- Data member and functions are tied together as a data structure
- Data can be hidden and cannot be accessed by external functions using access specifier
- Objects can communicate among themselves using functions
- New data and functions can be easily added anywhere within a program whenever retuired
- It follows a bottom-up approach.
Standard Libraries in C++
1 | C++ core language |