What is the relationship between C and C++?

C++ is pronounced as "C Plus", which is the abbreviation of "C Plus Plus". As the name suggests, C++ adds new features and plays new tricks on the basis of C, so it is called "C Plus Plus", just like the relationship between iPhone 6S and iPhone 6, Win10 and Win7.

The C language was successfully developed by Bell Laboratories in the United States in 1972. It was considered a high-level language at the time. Many of its new features made assembly programmers envious, just like today's Go language, which was sought after when it was born. C language is also a "fashionable" language, and many softwares were developed in C language, including Windows and Linux.

However, with the rapid improvement of computer performance, the hardware configuration is quite different from that of decades ago, and the software scale is also increasing. The volume of many software exceeds 1G, such as PhotoShop, Visual Studio, etc., and these software are developed in C language. It seemed very difficult, and at this time C++ came into being.

C++ mainly adds object-oriented and generic mechanisms on the basis of C language, improves development efficiency, and is suitable for writing large and medium-sized software.

The blood relationship between C++ and C

In the early days there was no "C++

Guess you like

Origin blog.csdn.net/m0_68539124/article/details/129342912