Introduction to C++

C++ is a general purpose language, Developed in the year of 1979 by Bajarne Stroustrup an employee of AT&T bell ...
Read More

History of C++

C++ was developed in the year of 1979 at AT&T bell labs by Bajarne stroustrup an employee of AT&T bell ...
Read More

Features of C++

C++ is an object oriented programming language which is very simple and fast and easy to learn. C++ is very ...
Read More

cin and cout in C++

in this tutorial are going to learn two very important and useful function of C++ first is cin and second ...
Read More

C++ comments

If you want to become a C++ programmer , comments will make your life easier. That will not helpful only ...
Read More

C++ preprocessor

Preprocessors is one of the main facility provided by the programming languages. It is a fundamental and important part of ...
Read More

Structure of C++

In this tutorial we are going to learn about the structure of C++ program. Structure represent the way of organizing ...
Read More

C++ first program

In this tutorial we are going to make our first C++ program , which will simply print "Hello world!" on ...
Read More

Variables in C++

What is variable? A variable is just a user defined name for store the value / data , every variable ...
Read More

Datatypes in C++

What is data type? In programming language every variable has a data type which describes the range of possible values ...
Read More

Keywords in C++

What is keywords Keywords are some predefined or reserved words for doing any specific task. C++ supports all the 32 ...
Read More

C++ operators

What is operator? In programming, Operators are some special symbols which are used to perform logical and mathematical operations. We ...
Read More

C++ constants

What is Constants in C++? In C++ programming, Constants are used to make a variables value fixed, that value can ...
Read More

C++ modifiers

What is modifier? A modifier, is used to change the value of data type. In other words we can say ...
Read More

C++ type casting

What is type casting? Typecasting is a process of converting a variable`s datatype into another datatype. In simple words we ...
Read More

C++ if else statement

In programming languages, if else statements are the most important part which works with Boolean values (True or False). C++ ...
Read More

Loops in c++

What is loop? In programming language, loops are used to repeat a set of statement again and again until the ...
Read More

For loop in c++

What is for loop? In C++ programming, the for loop is the most popular loop amongest the all three loops ...
Read More

C++ while loop

What is while loop? The second loop of C++ is known as while loop also known as Entry-controlled loop. In ...
Read More

C++ Do while loop

What is do while loop? The third loop of C++ , known as while loop, while loop is a exit ...
Read More

gotoxy function in c++

What is gotoxy()? In C++ gotoxy function is used to change the cursor location at desired location. Syntax. gotoxy(x,y); Example ...
Read More

C++ switch statement

What is switch statement? In C++ switch statement is used to take the same value from the list of different ...
Read More

C++ goto statement

In this C++ tutorial we are going to study about goto statement, and also going to learn what is the ...
Read More

C++ break statement

In this tutorial we are going to learn about the break statement in C++ and how it works and also ...
Read More

C++ continue statement

In this tutorial we are going to study about the continue statement that what is the use of continue statement ...
Read More

Function in C++

In this C++ tutorial we are going to study about a very important topic of C++ known as function. What ...
Read More

C++ Function call

what is function call. In C++ there are two ways to call a function, first is call by value and ...
Read More

String in C++

What is string. An string is a array of characters , or we can also say that an string is ...
Read More

cin.getline function in C++

In C++ cin.getline is a predefined function for strings. This function is becomes very important when we need to get ...
Read More

C++ string library functions

C++ String library functions. String library functions are used to manipulate our string , C++ provides us some predefined functions ...
Read More

This pointer in C++

what is this pointer? "This" pointer is a pointer that points the current instance of a class , it is ...
Read More

Array in C++

Array in C++. Array is one of the most useful concept of programming language , let`s talk little bit before ...
Read More

Single dimensional (1-d) array in C++

1-D Array (single dimensional array) As we know that an array is a collection of similar type of data items ...
Read More

Two dimensional (2-D array) in C++

What is two dimensional array? 2-D arrays are like a matrix, there are finite numbers of rows and columns for ...
Read More

Pointer to pointer in C++

What is pointer to pointer? In C++ , when a pointer contains the address of another pointer and that pointer ...
Read More

Pointer in C++

Pointer is a fundamental and important part of programming language , but there are some beginners who find difficult to ...
Read More

oops concepts C++

What is object oriented programming? Object oriented programming is come to overcome the problem of previous programming languages . In ...
Read More

C++ namespace

What is namespace? Namespace is a collection of some named entities like functions , variables we need to declare these ...
Read More

C++ Class and object

C++ class. A class is a blueprint for an entity , class is always defined by user according to needs ...
Read More

Access specifiers in C++

What is Access specifier? When we define a class union or structure , we need to define the accessibility of ...
Read More

Inheritance in C++

What is inheritance? In object oriented programming , inheritance is a way of using the properties of a class into ...
Read More

Single level inheritance in C++

What is single level inheritance? This is the most simplest inheritance of C++ , in single level inheritance there is ...
Read More

Multiple inheritance in C++

What is multiple inheritance in C++? In multiple inheritance there is only once derived class which can inherits the properties ...
Read More

Multilevel inheritance in C++

What is multilevel inheritance? In multilevel inheritance a derived class inherits the properties of a base class and another class ...
Read More

Hierarchical inheritance in C++

What is hierarchical inheritance? In this inheritance multiple derived classes can inherits the properties of a single base class , ...
Read More

Hybrid inheritance in C++

What is hybrid inheritance? Hybrid inheritance is the last inheritance of C++ , it is a combination of multi level ...
Read More

inline function in C++

What is inline function? inline function is used to make our program run faster, because if you declare a function ...
Read More

Constructor in C++

What is constructor? Constructors are used to initialize the objects of a class. Compiler automatically calls the constructor whenever object ...
Read More

C++ friend function

What is friend function? As we know that we can not access private data of a class out side of ...
Read More

Destructor in C++

What is destructor in C++? Destructor is just opposite of the constructor, we call when need to deallocate the memory ...
Read More

Polymorphism in C++

what is polymorphism? In object oriented programming , word "polymorphism" comes from Greek. Poly means "many" and morph means "forms" ...
Read More

Function overloading in C++

What is function overloading? In function overloading we can define many definitions for a single function. Means when we call ...
Read More

Operator overloading in C++

What is Operator overloading? As we know that in programming operators are some special symbols which is used to perform ...
Read More

Function overriding in C++

What is function overriding? Let`s suppose , if we have two classes named first and second , first is base ...
Read More

Virtual Function in C++

What is virtual function? In object oriented programming a virtual function is defined in base class but we can redefine ...
Read More

Pure virtual function in C++

What is pure virtual function? In object oriented programming , pure virtual function is a virtual function which have no ...
Read More

Virtual destructor in C++

What is virtual destructor? As we know that destructors are used to deallocate the memory provided by constructors. We can ...
Read More

Abstraction in C++

What is abstraction? Object oriented programming provides a very useful and powerful feature known as abstraction by which a programmer ...
Read More

Encapsulation in C++

Encapsulation in C++ What is Encapsulation? In object oriented programming , encapsulation is a way of binding member data and ...
Read More

C++ Interface and abstract class

Interface and abstract class in C++. What is abstract class? In object oriented C++ , a class which contains one ...
Read More

Storage classes in C++

What is Storage classes? In C++ , storage classes are used to represent the scope and life-time of a variable ...
Read More

C++ Multithreading

What is multithreading? C++ programming provides us the concept of multithreading, multithreading is just like multi tasking with the help ...
Read More

C++ file handling

What is file handling? In C++ file handling is a very important topic , file handling provides us the facility ...
Read More