C++ Basic Tutorial

C++ is a powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and more. C++ supports different programming styles, such as procedural, object-oriented, functional and so on. This makes C++ both powerful and flexible. Our c++ programming tutorial will guide you step by step to learn c++ programming.

C++ is a middle-level language developed by Bjarne Stroustrup at Bell Labs in 1979. C++ further expands and perfects the C language and is an object-oriented programming language. C++ runs on a variety of platforms, such as Windows, MAC operating systems, and various versions of UNIX.


About C++ Programming

  • Multi-paradigm language – C++ supports at least seven different programming styles. Developers can choose any style.
  • Common Language – You can use C++ to develop games, desktop applications, operating systems, etc.
  • Speed ​​- As with C programming, the performance of optimized C++ code is excellent.
  • Object Orientation – C++ allows you to divide complex problems into smaller sets by using objects.

Why learn C++?

  • Due to the performance of C++, it can be used to develop games, desktop applications, operating systems, browsers, etc.
  • After learning C++, it will be much easier to learn other programming languages ​​like Java, Python, etc.
  • C++ helps you understand the internal architecture of a computer, how the computer stores and retrieves information.

How to learn C++?

  • C++ Tutorials at nhooo.com – We provide step-by-step C++ tutorials, examples and references.
  • Write a lot of C++ programming code – the only way to learn programming is to write a lot of code.
  • Read C++ Code – Join Github’s open source project and read other people’s code.

Who should read this tutorial?

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


What you need to know before reading this tutorial:

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


Compile / Executive C++ Program Example

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

Program Output:-

Hello, world!