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