Easy Tutorial
❮ Cpp Multi Dimensional Arrays Cpp Examples Factorial ❯

C++ Tutorial

C++ is a high-level language, developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ extends and refines the C language, and is an object-oriented programming language. C++ can run on many platforms such as Windows, MAC OS, and various versions of UNIX.

This tutorial explains the C++ programming language using simple and easy-to-understand language.


C++ Online Tools

Who is this tutorial suitable for?

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

Knowledge required before reading this tutorial:

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

Compiling/Executing C++ Programs

Example

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

You can replace endl in the above code with "\n".

Example

#include <iostream>
using namespace std;
int main()
{
    cout << "Hello, world!" << "\n";
    return 0;
}
❮ Cpp Multi Dimensional Arrays Cpp Examples Factorial ❯