computer learning

C plus plus

C plus plus

C plus plus is an object-oriented, multi-modal, compiled, static-style programming language. It includes many features of high-level and low-level programming languages. One of the most impressive uses of C++, according to Stroustrup, is the use of C++ in writing a large portion

of the automated driving systems for the Mars rover.

There are many commercial and open source banks for C++,

including the GNU Project, Intel Banks, Microsoft Banks, Oracle Solaris Studios Banks, Digital Mars Banks, and Embarcadero Technologies Banks. C++ has influenced many popular programming languages ​​such as C# and Java. Other languages, such as Object-C, use a very different syntax and approach to adding classes to C.

C++ started as an improvement of the C language, first with

adding classes, then virtual functions, loading arithmetic operators, multiple inheritance, templates, exception handling, among other features. After years of development,also C++ was certified in 1998 as an ISO standard called ISO/IEC 14882:1998. In 2003 the standard was revised aaccording to the technical patch document ISO/IEC 14882:2003. The current standard ISO/IEC

14882:2011 includes a set of features that were agreed and published such as a new standard from

History C plus plus

This discovery led Stroustrup to the idea of ​​developing a new

programming language that would combine the advantages of these two languages.

Stroustrup later encountered the problem of parsing the Unix kernel in relation to distributed computing while working at Bell Labs. Recalling the dilemmas he encountered while working on his thesis, he resolved to improve C by adding features similar to those of

Simula. Stroustrup chose C because it was universal, fast, portable, and commonly used. In addition to C and Simula, Stroustrup has inspired a number of other languages: Algol68, Defining Language (ML), Clu (a programming language), and Eda.

Origin of the name C++

“The name underscores the evolutionary nature of the changes made to C,” says Stroustrup.

The credit for the final designation (C++) goes to Rick Massetti (mid 1983), and he first used the term in December 1983.

The name comes from the use of the increment operator (++) from the C language, which increases the value of the variable assigned to it, and the common use of the (+) symbol to denote an improvement in a computer program. The joke is that the name itself contains an error: using the post increment) causes the variable to increment after evaluating the value of the previous variable (unlike the previous increment: ) meaning that C++ is no better than C, otherwise it would have been better Use the preceding increment so that the name of the language becomes C++ instead of using the post increment as in the current name.

Back to top button