A single-line comment //
Indent 缩进
backslash \ 反斜杠
stream extraction operator (using namespace std)
standard input stream (std::cin)
stream manipulator (std::endl)
Fundamental types:
int , double , char
Adding Integers:
1.A variable name is any valid identifier that is not a keyword.
2.An identifier is a series of characters consisting of letters , digits and underscores (_) that does not begin with a digit.
3.uppercase and lowercase letters are different.
(Declaration of variables can be placed almost anywhere in a program, but they must appear before their corresponding variables are used in the program.)
Precedence and associativity of the operators discussed so far:
Arithmetic operators:
Precedence of arithmetic operators:
Equality and relational operators: