MENU

Wednesday, 6 April 2022

What is C++

 What is C++


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

C++ is a middle-level language, as it encapsulates both high and low level language features.

Object-Oriented Programming (OOPs)

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

1.Inheritance

2.Polymorphism

3.Encapsulation

4.Abstraction

5.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 the set of functions manipulating strings, files, etc.

The Standard Template Library (STL) includes the set of methods manipulating a data structure.

Usage of C++

By the help of C++ programming language, we can develop different types of secured and robust applications:

Window application

Client-Server application

Device drivers

Embedded firmware etc.

C++ Program

In this tutorial, all C++ programs are given with C++ compiler so that you can easily change the C++ program code.

File: main.cpp


// Your First C++ Program

#include <iostream>

int main() {

    std::cout << "Hello World!";

    return 0;

}


0 comments:

Post a Comment

LATEST

PROGRAMMING LANGUAGES

WEB TECHNOLOGIES

DBMS

C

C++

PREPARATION

LATAST POSTS

Top