首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

const int a = 1 ; 1叫做constants或者literals,a用英文该如何表述

2013-12-17 
const int a 1 1叫做constants或者literals,a用英文该怎么表述?const int a 1 1叫做constants或者

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. 

热点排行