The development and advantages of C + +

Source: Internet
Author: User

I. C + + is a C language enhancement, is a better C language, C + + is based on the C language, and fully compatible with the characteristics of C language;

C + + is Dr. Bjarne Stroustrup of Bell Labs in the United States and his colleagues and the the early 1980s on the basis of the C language developed successfully. The original C + + was called "C with Class" and was formally named C + + in 1983. The publication of the book "C + + programming language", written by Dr. Bjarne Stroustrup in 1985, marked the birth of the c++1.0 version, after which Bell Labs launched the c++2.0,3.0,4.0 version. In 1989, the standardization of C + + began, until November 1998 by the International Standards Organization (ISO) approved as an international standard.

C + + Features: 1. It is the expansion of C, compatible with C, which makes many C code can be used for C + + without modification, 2. C + + to maintain a concise, efficient and close to assembly language features, and more secure than C, readability and good, the code more reasonable; 3. The most significant feature of the C ratio is the addition of object-oriented mechanisms; therefore, C + + can be used both for process-oriented structured programming and for object-oriented programming.

Two. C + + has those advantages and disadvantages compared to C,java:

Java is mainly used for B/s web development and has never been developed in application;

C is mainly for the underlying, such as embedded, mobile phones and so on.

C + + words are mainly application software, online games, such as QQ, Thunder, what is written in C + +.

C's language is simple, but easy to use
C + + syntax is very large and complex, but easy to use, focusing on programming ideas (object-oriented)

Java: Speaking of Java, it's natural to mention Java's powerful cross-platform capabilities. In addition, Java is almost completely object-oriented, where the interface, the main function, and so on are all in the form of classes, Java is a powerful interface to create interface, registry operations and database operations have become simple.

The development and advantages of C + +

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.