Introduction to C++ Programming
History of C++
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.