C++ is a multi-paradigm programming language that supports object-oriented programming (OOP), created by BJarne Stroustrup in 1983 at Bell Labs, C++ is an extension(superset) of C programming and the programs written in C language can run in C++ compilers.
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.
Object-oriented Programming & C++
C++ supports object-oriented programming(OOP), with four major principles of object-oriented development:
C++ is not purely object-oriented language because object-oriented means to works with object and classes, but in C++ you can write code without creating a class.
Standard Libraries in C++
C++ standard library was created after many years and it has three important parts:
- C++ core language provides all the building blocks including data types, variables and literals etc.
- The C++ Standard Library has rich set of methods to manipulating files and strings.
- The STL(Standard Template Library) provides a rich set of template classes for manipulating data structures.