Hackerthink logo

THE MOST POPULAR SITE FOR DEVELOPERS.

C++ Tutorial

C++ is an intermediate language. It was designed and developed by Bjarne Stroustrup at Bell Labs in 1979. C++ further expands and perfects the C language, which is an object-oriented programming language. C++ can run on a variety of platforms, such as Windows, MAC operating systems and various versions of UNIX.

This tutorial explains the C++ programming language in an easy-to-understand language.

Start learning C++ programming now!

Who should read this tutorial?

This tutorial is specially designed for beginners to help them understand basic to advanced concepts related to the C++ programming language.

Before reading this tutorial, what you need to know:

Before you start practicing the various examples given in this tutorial, you need to have a basic understanding of computer programs and computer programming languages.

Compile/execute C++ program

Example

#include <iostream>
using namespace std;
int main()
{
    cout << "Hello, world!" << endl;
    return 0;
}

You can use \n instead of endl in the above code .