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