const int a = 1 ; 1叫做constants或者literals,a用英文该怎么表述?
const int a = 1 ; 1叫做constants或者literals,a该怎么表述?
[解决办法]
变量名variable name
[解决办法]
1是literal
a在C中是constant variable
在C++中是constant
[解决办法]
Lexical Conventions
This chapter introduces the fundamental elements of a C++ program. You use these elements, called “lexical elements” or “tokens” to construct statements, definitions, declarations, and so on, which are used to construct complete programs. The following lexical elements are discussed in this chapter:
Tokens
Comments
Identifiers
C++ keywords
Punctuators
Operators
Literals
This chapter also includes Table 1.1, which shows the precedence and associativity of C++ operators (from highest to lowest precedence). For a complete discussion of operators, see Chapter 4, Expressions.