C. In the end, C ++ is still based on C. Blocks, statements, pre-processors, built-in data types, arrays, pointers, and so on all come from C. In many cases, the C ++ solution to the problem is only a relatively advanced C solution, but when you work with C components in C ++, the efficient programming code reflects the limitations of the C language: no template, no exception, no reload.
Object-oriented C ++. This part is the requirement of C with classes: classes (including constructor and destructor), encapsulation, inheritance, polymorphism, virutal function (dynamic binding) and so on. This part is the most direct implementation of the classical code of object-oriented design in C ++.
Template C ++. This is the generic programming part of C ++ and also the majorityProgramThe least experienced member.
STL. STL is a template library. You can see the name, but it is a very special one. For containers, iterators,AlgorithmAnd Functional Object conventions have excellent close cooperation and coordination, but templates and libraries can also be built with other ideas.
The Code of C ++ efficiency varies depending on the situation, depending on which part of C ++ you use.
Feeling: this is not the first time I discovered that C ++ is inclusive. Previous understandings: C ++ has the efficiency of C, Java object-oriented, and its unique template. After seeing it here, our predecessors have indeed summarized it.