1. Programming Paradigm
The programming paradigm refers to the basic style of computer programming, and C + + accommodates many degrees of paradigm, such as object-oriented programming, generic programming, and traditional procedural programming.
2. Compared to C
C + + On the basis of the language of the new addition of the following features:
A. Classes and objects, inheritance
B. Polymorphism, virtual functions, and Rtti
C. function overloading
D. Reference variables
E. Generic programming
F. Anomaly mechanisms
G. Namespaces
C + + inherits the tradition of efficient, concise, fast, and portable, new object-oriented programming features, and a generic programming feature. In learning C + + you need to master the knowledge of the basic knowledge, OOP ideas and generics programming.
3. Programming Principles
Computer languages deal with two concepts: data and algorithms. Data is the information to be used and processed in the program, and the algorithm is the method of processing the data. C language is to decompose large programs into small, manageable tasks, which are called structured programming, and thus appear object-oriented programming. Programming emphasizes algorithms, and object-oriented programming emphasizes data. class specifies what data is used to represent the object and some methods of processing it. The beginning of OOP programming is to write classes that describe objects, from lower-level organizations (classes) to advanced organizations (programs), called bottom-up programming. C + + has converged on the traditional procedural approach of OOP and generic programming, suggesting that C + + emphasizes practicality, not ideological approach.
Think about it, read more C + + knowledge is also good, when my notes. Uuuup