Article 1: Treat C + + as a language federal

Source: Internet
Author: User

C + + is a multi-paradigm programming language that supports both process forms, object-oriented forms, function forms, generic forms, and meta-programming languages.

Depending on C + + as a language federation, there are mainly 4 secondary languages.

C. Includes chunks, statements, preprocessor, built-in data types, arrays, pointers, etc. from C.

object-oriented C + +. That is, C with Classes, including Classes, encapsulation, inheritance, polymorphism, dynamic binding.

Template C + +. That is, C + + generic programming.

Stl. It is a template library that includes parts such as containers, iterators, algorithms, and function objects.

When switching from one sub-language to another, it is often necessary to change the programming strategy.

  

Article 1: Treat C + + as a language federal

Related Article

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.