C ++ (PEN) 001.
Programming Paradigm programming paradigm refers to the basic style of computer programming. C ++ can accommodate multiple levels of paradigm, such as object-oriented programming, generic programming and traditional procedural programming. 2. compared with C, C ++ adds the following features based on C:. class and object, inherit B. polymorphism, virtual functions, and RTTI c. function overload d. reference variable e. generic programming f. exception mechanism g. the namespace C ++ inherits the traditional high-efficiency, concise, fast, and portable C language. It also features a new object-oriented programming feature and a generic programming feature. To learn C ++, you must master the basic knowledge of C language, OOP ideas, and generic programming. 3. Programming principles computer languages need to process two concepts: Data and algorithms. Data is the information to be used and processed in the program, and algorithms are the methods to process data. C Language breaks down large programs into small and easy-to-manage tasks. This is called structured programming, which leads to object-oriented programming. Procedural programming emphasizes algorithms and object-oriented programming emphasizes data. Class specifies which data is used to represent the object and some methods to process the data. The beginning of OOP programming is to write classes that describe objects. The process from low-level organizations (classes) to high-level organizations (programs) is called bottom-up programming. C ++ integrates the traditional procedural methods of OOP and generic programming, which indicates that C ++ emphasizes practicality rather than ideology. Think about it. It's good to read more about C ++. It's my note. UuuUP