C ++ (PEN) 001.

Source: Internet
Author: User

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

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.