This is day two of my noob coder adventure and I am officially kicking off. The first thing to learn in C++ programming is the history and features.
History
The name C++ was first used in 1983. Before then, it was called C with classes by Bjarne Stroustrup. Bjarne Stroustrup created the programming language in 1979, he started it as an extended version of C.
Features/Comparison with C
C++ is an extended version of C, it offers much more than C with classes. It is a middle-level programing language meaning that it can be used to develop high-level applications and low-level libraries. C is a procedural programming while C++ is an object-oriented programming language. C++ is a block-structured programming language. In C you can organize a code by functions but you can’t create a function inside a function. C is, therefore, a structured programing language but C++ is a block-structured programming language because in C++, you can create a function inside a function.
Why Study C++ instead of Java or C#
In C programming it becomes difficult to manage the programme when the number of lines in a source code increases or when or the programme becomes complex. This is not the case with C++.
In C you can’t create a function inside a function but you can achieve this in C++.
C++ is the preferred language among the object-oriented programming languages.
C++ is very near to the execution speed of C, yet it allows much more features than C.
Pixabay
Where is C++ used?
C++ is used in
Operating systems such as windows.
Device drivers
Web servers
Cloud-based applications
Search engines
C++ is the language of choice for creating other programming languages
Source
Learning How to Code Series
Written by a Noob to Inspire Fellow Noob Coders