C++ Tutorial C++ Advanced C++ References

C++ - Tutorial



C++ is a middle-level and general-purpose programming language created by Bjarne Stroustrup starting in 1979 at Bell Labs. It is an extension to C programming with additional implementation of object-oriented programming (OOPs) concepts. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. C++ is the most widely used programming languages in application and system programming.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of C++. This tutorial covers all topics of C++ which includes data types, operators, arrays, strings, control statements, pointers, classes, object-oriented programming, constructor, destructor, inheritance, polymorphism, encapsulation, namespace, exception handling & File IO. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn C++ in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:

//  Hello World Example
#include <iostream>
using namespace std;
 
int main (){
    cout<<"Hello World!"; 
    return 0;
}

The output of the above code will be:

Hello World!

Prerequisite

Before continuing with this tutorial, you should have basic understanding of any programming language.


4