Introduction to C++ Programming

To say exactly, creating a computer program is like trying to swim an ocean. You will eventually drown if you jump into it without proper knowledge. So, the question here is, in which language you should start training to get strong grip in software field. The answer is ambiguous. You can start with any language you wish to, but most of them prefer to begin with C and C++ as these languages are simple enough for a new learner to understand the basics of programming. I will be guiding you with a series of C++ programming tutorials to learn the basics of C++ language.

Introduction to C++ Programming

History of C++

Introduction to C++ Programming - Bajarne Stroustrup
Bajarne Stroustrup

C++ viewed as the C dialect. C++ was created by Bjarne Stroustrup in the year of 1979. It was released for support to system programming and embedded applications. C++ language is seen by critics as the language wasn’t named well. If you are well experienced in C, you will know that C++ means post-increment the variable, which implies increment after it has been used. We require a dialect which has been incremented. It must be ++C. That is only a sentiment software engineers who like C. I’m not interested with the name of it. 

Features of C++

C++ is an object oriented language that supports all the object oriented features given below.

1. Polymorphism (means existing in many forms)
2. Encapsulation (meaning that getting together)
3. Data Abstraction (means hiding the data)
4. Inheritance (means getting the features of a parent)

For now, don’t worry about the meanings, we will know about them in further tutorials.

For a program to run, the source code has to be processed by a C++ compiler, producing object files, which are combined by a linker to yield an executable program which makes it a compiled language.

C++ is not portable. This means that the executables are not portable but the source code is. You can’t run an exe file generated in Windows on Mac. But you can use the same source code on different machines to create an executable.

In C++, the type of every element must be known to the compiler at its point of use which makes it static typed language. This allows the compiler to determine the set of operations applicable to a particular entity.

Applications of C++

C++ programming language is widely used in various fields. Some main applications of C++ are given below.

1. Used in embedded system software development.
2. For developing computer softwares and device drivers.
3. Used for creating computer games.

So this was a short introduction to C++ programming language. If you have any doubts regarding above tutorial then you can ask in comment section.

9 thoughts on “Introduction to C++ Programming”

  1. Thank you for the powerful lesson. Am a student learning c++ language but have a big problem I don’t understand how to do about it especially how to do it physically on a pc how do IT start where do IT go is the question.Learning through online but no attendance e.g Computer lab to learn that is lucking kindly help thank you once more.

Leave a Comment

Your email address will not be published. Required fields are marked *