Register Login


C++ is a mid-level, general-purpose and object-oriented programming language with both low and high-level programming capabilities. It is an extended version of the C language with the additional concept of 'classes'. C++ is compatible with a number of platforms like Unix, Windows, MAC OS and others. It is one of the most widely used commercial programming languages and is considered by many as one of the best languages to create large-scale applications.

Prerequisites to Learn C++

Even though there is no rule of thumb as to what one should already know before starting to learn C++, some consider an understanding of the C programming language a prerequisite for learning C++.

C++ is an object-oriented programming language while C is just a basic programming language. So, you can learn the programming concepts in the C language in a relatively easier way. C++ is a more complex language and is the superset of C. Thus, an understanding of the C language facilitates a quick and easy learning of C++.

Uses of C++

  • Web Browsers: Web applications and websites are scripted in C++. C++ is a fast and reliable language and is preferred by many developers for scripting purposes. Parts of Google and Mozilla Firefox are coded in C++.
  • Database Software: MySQL, one of the most prevalent database management softwares, has been scripted using C++. C++ is the backbone of a number of database-based tech giants like Google, Yahoo, YouTube and Wikipedia.
  • Operating Systems: C++ is an essential part of many important prevalent operating systems like Windows and Apple's OS X.
  • GUI-based Applications: Graphical User Interface-based applications like Photoshop, image Ready and Adobe Premier are scripted in C++.
  • Games: C++ is a programming language that can deal with the complexities that 3D games entail and also optimize resource management, facilitate multiplayer with networking. C++ is very fast and provides good control on hardware.
  • Compilers: The C++ language is used by many compilers like Apple C++, Clang C++, Bloodshed Dev-C++ and MINGW.

Hello World Program in C++

#include <iostream>
using namespace std;

int main()
cout << "Hello, World!";
return 0;

Does C++ Have a Future?

According to the TIOBE Index for January 2018 C++ is the 3rd most popular programming language after Java and C language respectively on 1st and 2nd. There is so much going on C++ language. VR is reviving C and C++ development because as we all know VR (Virtual Reality) games are very computationally intensive. So if anyone want to go into the VR world, C and C++ might be a very good choice, mostly with the Unreal Engine to be able to learn how to do that, which has become popular in the VR stuff, Oculus Rift and many others.


  • Top 12 Best Online C++ CompilerTop 12 Best Online C++ Compiler
    Online compilers or IDE are tools which allow us to compile and execute our source code of various programming language such as C++, java, python etc.This tutorial explains the features of top online ...

  • How to Convert Char to String in C++ Language?
    This article will help you to learn how to convert a character array to a string in C++. Convert Char To String C++ There are many methods through which we can convert a character array to a str ...

  • C++ Tic Tac Toe Game project
    Tic Tac Toe is an integral part of our childhood memories. It is a fun game consisting of two players who battle each other using Xs and Os. But did you know that this game can be a good C++ project? ...

  • Difference Between Call By Value and Call by Reference with Comparison Chart Difference Between Call By Value and Call by Reference with Comparison Chart
    What is the difference between call by value and call by reference? Here, we help you take a closer look at the differences between call by value and call by reference. Before understandi ...

  • Hybrid Inheritance Sample Program in C++Hybrid Inheritance Sample Program in C++
    Inheritance is one of the important concepts of Object-Oriented Programming. It is the process by which a class inherits the properties of another class. Hybrid inheritance in C++is a process whi ...

  • Insertion Sort in C++ Program Example & Algorithm
    What is Insertion Sort? Insertion sort is a very famous algorithm used to sort elements in ascending order. It works by comparing the elements and checking if they are already in ascending order. ...

  • Single Inheritance in C++ ProgrammingSingle Inheritance in C++ Programming
    What is Single Level Inheritance? Single Level Inheritance is the mechanism of deriving a class from only one single base class. The operator used for inheritance is colon(:).  Single level ...

  • Object reference not set to an instance of an object
    The “Object reference not set to an instance of an object” is a very famous error in C# that appears when you get a NullReferenceException. This occurs when you try to access a property or ...

  • Storage Classes in C
    What is Storage Classes? To define a variable in C language, its data type needs to be defined in the syntax ‘data type=identifier;’. For example, ‘int=a;’ defines the varia ...

  • Multiple Inheritance Sample Program in C++
    What is Multiple Inheritance?Multiple Inheritance is the process of deriving a class from more than one base class. An important point to be noted is protected data members. Protected data member ...

  • Multilevel Inheritance Sample Program in C++
    What is Multilevel Inheritance?Multilevel inheritance is the process of deriving a class from another class which was further derived from another base class. For example, class ‘C’ is der ...

  • How to Solve Tower of Hanoi in C?
    A French mathematician Édouard Lucas invented a game puzzle called Tower of Hanoi in 1883. This puzzle game is related to a religious temple of Hanoi, Vietnam, the name of the temple was the To ...

  • C++ Class Constructor and Destructor
    The programming world has a tremendous growth in the adaptability of Object-oriented programming structure. This programming strategy ensures proper code structure, code readability, code reusabili ...

  • Void pointers and null pointers
    Pointers are a special type of variable that can store the address of another variable. Such types of variables can be integer, floating-point, character, arrays, functions, etc. Declaring and in ...