An integer is the number zero (0), a positive natural number (1, 2, 3, . . .), or the negation of a positive natural number (−1, −2, −3, . . .).
Integer literals begin with a digit and have no fractional parts or exponents. You can specify integer literals in decimal, binary, octal, or hexadecimal form. You can optionally specify an integer literal as unsigned, and as a long or long long type, by using a suffix.
The empty curly braces is a special case that will zero initialize any type, and it will be used a lot in the course.
Auto-type allows the compiler to determine the type of a variable.
A compiler in C++ is a specialized software that transforms the human-readable code you write into machine-readable cade, also known as binary code.
The auto keyword is a simple way to declare a variable that has a complicated type.
沒有留言:
發佈留言