The relationship of C to c++,c language and C + +

Source: Internet
Author: User

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 + +

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.