c++ icon

What is C++

A few introductory points about C++ before you get started with the code:

  • C++ is a general-purpose, case-sensitive, free-form programming language that supports generic and procedural and object-oriented programming.
  • C++ is a middle-level language, as it encapsulates both low and high-level language attributes.
  • C++ is a middle-level programming language developed by Bjarne Stroustrup beginning in 1979 at Bell Labs.
  • C++ runs on many different platforms, including Windows, Mac OS, and the various versions of UNIX.
  • C++ is a cross-platform language which may be utilized to make high-speed applications.
  • C++ was developed by Bjarne Stroustrup, as an extension to the C language.
  • C++ gives developers a high amount of control over system resources and memory.
  • The language has been updated 3 significant time in 2011, 2014, and 2017 into C++11, C++14, and C++17.
  • C++, as all of us know is an expansion to C language.
  • C++ is an intermediate level language since it includes a confirmation of the high level and low level language attributes.
  • C++ is a statically typed, completely free type, multi-paradigm, compiled general-purpose language.
  • C++ is an Object Oriented Programming language but isn’t purely Object Oriented. Its attributes like Friend and Virtual violate a few of the extremely significant OOPS attributes, which makes this language unworthy of being called entirely Object Oriented.
Further Reading:  A little about C++ variables
So why do we use C++?
  • C++ is among the world’s hottest programming languages.
  • C++ is quite near hardware, which means you get an opportunity to work at a minimal level which provides you a great deal of hands concerning memory management, improved functionality, and eventually a strong software development.
  • C++ can be seen in the present operating systems, Graphical User Interfaces, and embedded systems.
  • C++ is a object-oriented programming language that provides a very clear structure to applications and permits code to be reused, reducing development costs.
  • C++ programming provides you a very clear understanding about Object Oriented Programming. You may understand low level execution of polymorphism if you may employ virtual tables and virtual table pointers, or dynamic type identification.
  • If you’re a good C++ developer then you won’t ever sit and furthermore you’ll receive highly paid for the job.
  • C++ is the most frequently used programming languages in system and application programming. That means that you may pick your area of interest of applications development.
  • It is portable and may be used to produce applications which could be adapted to numerous platforms.
  • Since C++ is near to C# and Java, it makes it Effortless for developers to switch into C++ or vice versa
  • C++ actually teaches you the distinction between compiler, linker and loader, distinct data types, storage classes, changeable forms their scopes etc..
Further Reading:  A little about C++ variables
So, where we can use C++?

C++ can be used in many areas of software developed including:

  • Computation Programming
  • Games Development
  • Embedded firmware etc
  • Application Software Development
  • Programming Languages Development
  • Client-Server application
  • Device drivers
An example of C++ program

To give you a little taste of C++ code, following is a small program of C++. Name the file mytestprogram.cpp

#include <iostream>

using namespace std;

int main() {

cout << "Welcome to the C++ World";

return 0;

Where to write the C++ code?

An IDE (Integrated Development Environment) can be used to edit AND compile the code.

There are numerous compilers offered for C++.  Popular IDE’s include Code::Blocks, Eclipse, and Visual Studio, Turbo. All of these are free, and they may be accustomed to either edit and debug C++ code.

You may locate the most recent edition of Codeblocks in their website here. Download the mingw-setup.exe file, which will set up the text editor using a compiler.

The second option – Turbo C++

Further Reading:  A little about C++ variables

Turbo C++ – Download & Setup


Download Turbo C++

Produce turboc directory within c drive and extract the tc3.zip inside c:\turboc

Double click install.exe document

Click the tc program file situated inside c:\TC\BIN to compose the c++ program.