introduction

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off" Bjarne Stroustrup

Welcome to C++ tutorial.

C++ is a general purpose programming language used to create programs that can run on many different types of computers (including embedded systems) and different types of operating systems.

It is basically an extension of the C language. This means libraries and syntax used in C can also be used in C++ as well.

C++ brought a new technique and model of solving problem called object-oriented programming which is a highly effective structure that can be used to develop programs faster and easier.

C++ also gives a high level of control over the underlying system’s resources and memory.

C++ is high performance and very fast.

  • Gaming: a lot of advanced game engines like “CryEngine”, “Unreal
    Engine”, “Unity” and many others are built on top of C++
    language.

  • Operating Systems: Operating systems like Microsoft windows,
    MacOS, IOS, Android etc. are usually built on top of a few programming
    languages, and one of the most used programming language in building
    operating systems is C++.

  • Browsers: Mozilla, Google Chrome, IE, Microsoft Edge
    etc.

Note: just like operating systems, only parts of browsers are built on top of C++ (mainly the core features and engines). There are also other languages involved in the process of building a browser.

  • Advanced applications: because C++ is high performance and fast,
    software like Maya and 3D Max use C++ to build their core features like
    rendering engines and simulations etc.

These areas mentioned above are just a few of many other areas that use this programming language.

Before jump in this tutorial, make sure you have general knowledge about these topics:

  • Basics of Computers

  • Software

  • Operating Systems

  • Programming Languages

  • Compilers and Interpreters

  • Linkers