Valid C ++ Clause 1, valid Clause 1

Source: Internet
Author: User

Valid C ++ Clause 1, valid Clause 1
Regard C ++ as a Language Federation

This section is the first section of Objective C ++. It describes the features of C ++. In fact, C ++ has diverse features, which are different from java, java is a pure object-oriented language, and for C ++, object-oriented is only one of the main features.

C ++ is developed based on C. C ++ is compatible with C. C is a structured language, and its focus is on algorithms and data structures. Write C code, focusing on designing certain algorithm processes and getting output through input data.

The C ++ features can be divided into four aspects:

1. C: C ++ developed on the basis of C language.

2: Object-Oriented C ++: this refers to the inheritance, encapsulation, and polymorphism that we often talk about. We usually say that C ++ is object-oriented and refers to this.

3: Generic programming in Template C ++: C ++, which is another major feature of c ++ and avoids program redundancy, the redundancy here is not only the code written, but also the memory occupied by the program during compilation.

4: STL: This is a standard template library. It uses templates to implement many containers, iterators, and algorithms. using existing libraries can greatly reduce your workload. STL is the compiler.

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.