The C language was developed in 1972 by D.m.ritchie of the American Bell Laboratory. It is not designed for beginners, but for computer professionals. Most system software and many application software are written in C language. However, with the increase of software size, programming in C language gradually seems a little difficult.
C + + was developed by Dr. Bjarne Stroustrup and his colleagues in the C language in the early 1980s at the Bell Laboratory.
C + + retains all the advantages of the original language and adds an object-oriented mechanism.
C + + is a developed by-and C-compatible. Programs written in C can be used without modification in C + +. From the name of C + + it can be seen that it is a superset of C. C + + can be used for process-oriented structured programming, but also for object-oriented programming, is a powerful mixed-type programming language.
C + + is "enhanced" in two ways:
- On the basis of the original process-oriented mechanism, the function of C language has been expanded considerably.
- An object-oriented mechanism has been added.
Object-oriented programming is proposed for the development of larger-scale programs, aiming to improve the efficiency of software development. Instead of opposing object-oriented and process-oriented, object-oriented and process-oriented are not contradictory, but each has a purpose and complements each other.
To learn C + +, it is necessary to use C + + for process-oriented structured programming, and to use C + + for object-oriented programming.
This tutorial not only introduces the application of C + + in process-oriented programming, but also introduces the application of C + + in Object-oriented programming.
The relationship of C to c++,c language and C + +