C++primer the first part of the basic language

Source: Internet
Author: User

Characteristics of the language:

  • Built-in data types, such as Integer, character, and so on.
  • Expressions and statements: expressions and statements are used to manipulate values of the above types.
  • Variables: Programmers can use variables to name the objects they use.
  • Control structures: such as if or while, a programmer can use a control structure to conditionally perform or repeat a set of actions.
  • Functions: Programmers can use functions to abstract behavior into callable computational units.

Expansion of language:

  • Programmer Custom Data types
  • Provides a set of library routines

C + + is a static type language: performs type checking at compile time. Before you can use a name in a program, you must first tell the compiler the type of the name.

The most important feature in C + +: Class

A built-in type that differs from a language, provides a programmer's custom type, is used just like a built-in type, by defining operators, constructing members, member functions ...

Learning process: The basic knowledge of language and the standard library, the second chapter introduces the built-in types, and discusses the new types of customization; Chapter three introduces two standard library types: string and vector. The fourth chapter introduces arrays, and chapters fifth through seventh describe expressions, statements, and functions.

C++primer the first part of the basic language

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.