
So you decided to learn C++. Either because of forced to study or very excited with C++.
Usually due to the demands of the hehe campus.. đ
But take it easy, learning C++ does not lose.
Evenâaccording to meâlearn C++ it's profitable. Because with C++ we can make various kinds of programs.
Such as making Games, Desktop Applications, Web, network applications, applications for hacking, even Mobile.
In this article, we will get acquainted with the language of C++.
Starting from studying History and its origins, until later making initial preparations to learn C++.
Let's get startedâŚ
What is C++?
C++ is a programming language created by Bjarne Stroustrup
As the name suggests, the symbol â++â on the letter C means increment of C.
Actually C++ is the same as C language, but has more features than C.
Because that is called C++ (read plus plus).
How is it different from C#?
The C# language was created by Microsoft and runs on a virtual machine .Net. While C++ runs natively like C.
In terms of syntax, C++ with C# is quite different. In my opinion, C++ looks more like C and C# is more like Java.
There are also those who think that C# is an improvement from C++.
That could have been true, because the C#â ecosystem in my opinionâ is better than C++.
But take it easy, there is no good or bad language. All languages have their own advantages and disadvantages.
C# is good, but C++ is faster because it runs natively.
C++ language itself is inspired by Simula language.
Why could that be?
Let's look at its historyâŚ
History of C++
In 1979, a Danish computer scientist named Bjarne Stroustrup started making the C++ programming language.
His initial motivation, because of his experience during the thesis first.
At that time, while working on a thesis..
He has found that the Simula language feature is very helpful for creating applications in a large number of ways.
Simula is very slow.
His next story began when he worked at AT&T Bell Labs.
He got into trouble while analyzing Unix kernels related to distorted computing.
From then on, he recalled the experience of working on a thesis.
Eventually he created a new language by developing the C language and had features like Simula.
In addition to Simula, the C language is also inspired by ALGOL 86, Ada, CLU, and ML.
In 1982, Bjarne's new language was named C++ and also added several features such as classes, virtual functions, operator overloading, references, constants, etc.
In 1985, The C++ Programming Language Book was published and became the only C++ language reference at the time.
In 1989, C++ version 2.0 was released and followed by the release of the book The C++ Prigramming Language Second Edition. Some features are also added in this version, such as abstract and protected members.
In 1998, C++ had a standard language called C++98.
Language Version C++
The language version of C++ will follow the standardization used. For example, C++98 means the language version of C++ that uses the standard year 98.
C++ language standardization is done by ISO (International Organization for Standardization).
Why should there be standardization?
The purpose of this standardization is so that all compilers are the same.
Just imagine.there is a C++ compiler made by IBM and there is also made by the GNU community.
If their implementation is different, we can bother later.
Must learn C++ language IBM version and version GNU.
That is why standardization is necessary.
Currently C++ already has several stadar:
YearName Standard C++2003ISO/IEC 14882:1998[23]C++982003ISO/IEC 14882:2003[24]C++032011ISO/IEC 14882:2011[25]C+11, C++0x2014ISO/IEC 14882:2014[26]C+14, C++1y2017ISO/IEC 14882:2017[9]C++17, C++1z2020Medium madeC++20,[17] C++2a
Every new feature, then in that version will be made standardization.
So, which version will we use?
If we are just learning, actually we do not need to bother thinking about this.
Because in each version, the basic will be the same.
What is different is its features. There are functions added and some are removed.
For the basic such as variables, if, loops, functions and others, in all versions will be the same.
YearStandard Name C++Name
1998ISO/IEC 14882:1998[23]C++982003ISO/IEC 14882:2003[24]C++032011ISO/IEC 14882:2011[25]C+11, C++0x2014ISO/IEC 14882:2014[26]C++14, C++1017/IEC:1488:2017[9]C++17, C++1z2020Medically createdC++20,[17] C++2a
Example of an application made with C++
There are so many apps made with C++, I will mention some that I just know yes..
First there was Inkscape, inkscape was an application for vector design such as CorelDraw and Adobe Illustrator. Inkscape made with C++ and GTK+ 3
Second there is Krita, this application is an application for drawing and painting. Krita made with C++ and Qt 5.
In addition to the two cool apps above, there are many more apps made with C++:
Winamp Media Player;
MySQL Server; the;
Mozilla Firefox is;
Thunderbird; l;
Google Chrome; the;
Microsoft Office; the;
Adobe Photoshop; london;
Adobe Illustrator;
The Java Virtual Machine (JVM);
Desktop Environment: KDE;
Desktop Environment: Apple MacOS UI (Aqua);
and many more..
Cool âkan C++ đ
What Next?
We already know the language of C++ and know its history and origins.
In essence, C++ language is an upgrade language from C language and can be used to create various programs or applications.
Next we will start learning to program C++, but before that. prepare the combat tools first.
Please continue to:
Learn C++ #2: C++ Programming Preparation in Linux
Learn C++ #2: C++ Programming Preparation in WindowsÂ
source information from (code farmers)