Language C++

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
4
Abstraction
Encapsulation
Inheritance
Polymorphism

Features of OO C++

  1. the main focus remains on data rather than procedures
  2. Object-oriented programs are segmented into parts called objects
  3. Data sturctures are designed to categorize the objects
  4. Data member and functions are tied together as a data structure
  5. Data can be hidden and cannot be accessed by external functions using access specifier
  6. Objects can communicate among themselves using functions
  7. New data and functions can be easily added anywhere within a program whenever retuired
  8. It follows a bottom-up approach.

Standard Libraries in C++

1
2
3
C++ core language
C++ standard library
STL(Standard Template Library)

Reference

C++