What is C++?

 

                                                                    

The History of C++

           

                                                     

    The history of C++ is quite interesting. C++ is a
general-purpose high-level programming language developed in 1979 by Bjarne Stroustrup at AT & T Bell Laboratories. C++ was developed as an extended
version of the C programming language.

 It extended the features of C and added
new ones including classes and objects, type checking, exception handling,
inheritance, polymorphism, etc., the C language. Over the years, the language
has received several significant updates to keep pace with modern programming languages. 

Although C++ was developed decades ago, it is still used today for developing
many software programs.

C++ is an object-oriented programming language. It is
an extension of C programming.


                                        

                 What is C++?

C++ is a general-purpose programming language that is
case-sensitive and supports object-oriented, procedural, and generic
programming.

 

C++ is a mid-level language because it encapsulates
both high-level and low-level language features.

 

                Object-oriented programming (OOPs)

C++ supports object-oriented programming, the four
main pillars of object-oriented programming (OOPs) used in C++ are:

 

Inheritance

Polymorphism

Encapsulation

Abstraction


                        Use of C++
 

Using the C++ programming language, we can develop
various types of secure and robust applications:

 

Window application

Client-server application

Device driver

Embedded firmware etc



                   C++ standard libraries

Standard C++ programming is divided into three
important parts:

 

The core library includes the data types, variables
and literals, etc.

The Standard Library includes a set of functions for
manipulating strings, files, etc.

The Standard Template Library (STL) contains a set of
methods for editing a data structure.



                                             C++
Code Example:


#include<iostream>   
using namespace std;   
 
int main()   
{   
    cout<<“Hello
World”<<endl;   
    return 0;   
}    

Leave a Comment

Your email address will not be published. Required fields are marked *

Translate »
Skip to content