Chapter summary Chapter summary

The second chapter summarizes

 

 

Chapter II summarizes
1, cout, cin input stream object is an output, a newline endl, usingnamespace is an instruction for namespace
2, c ++ in alphanumeric identifier underscores, is not a first number, and also not be a keyword
3, annotation for easy reading, common methods are: '//', '/ ** /'
4, the basic data types a new addition to bool type, able to represent true and false
5, variable storage types: Auto, Register, extern, static
. 6, represented by a string constant const to
7, and the expression operators (arithmetic, assignment, comma, logic conditions) operation (the sizeof, bit operation)
. 8, IO stream: the stream obtained from operational data extracting operation, added data insertion
COUT "a" B;
. 9, the iomanip header file has On Dec, hex, OCT, WS, endl, ends, setsprecision (int), setw (int)
10, an arithmetic substantially data structure sequential selection cycles
11, typedef statements for an identifier to a data type of an alias, then the data type identifier as
12, enumerated type variable may include eleven values

 

Chapter II summarizes
1, cout, cin input stream object is an output, a newline endl, usingnamespace is an instruction for namespace
2, c ++ in alphanumeric identifier underscores, is not a first number, and also not be a keyword
3, annotation for easy reading, common methods are: '//', '/ ** /'
4, the basic data types a new addition to bool type, able to represent true and false
5, variable storage types: Auto, Register, extern, static
. 6, represented by a string constant const to
7, and the expression operators (arithmetic, assignment, comma, logic conditions) operation (the sizeof, bit operation)
. 8, IO stream: the stream obtained from operational data extracting operation, added data insertion
COUT "a" B;
. 9, the iomanip header file has On Dec, hex, OCT, WS, endl, ends, setsprecision (int), setw (int)
10, an arithmetic substantially data structure sequential selection cycles
11, typedef statements for an identifier to a data type of an alias, then the data type identifier as
12, enumerated type variable may include eleven values

Guess you like

Origin www.cnblogs.com/sqcmxg/p/11022693.html