C ++令牌(Tokens)
C++令牌是程序的最小独立单元。
以下是C++标记:(大多数c++标记基本上与C标记相似)
关键字
标识符
常量
变量
运算符
关键字
C++的保留字可以方便地分为几组。在第一小组中,我们将那些也存在于C编程语言中并被带入C++的语言。其中有32个,它们是:
auto const double float int short struct unsigned
break continue else for long signed switch void
case default enum goto register sizeof typedef volatile
char do extern if return static union while还有30个不在C中的保留字,因此对于C++来说是新的,
它们是:
asm dynamic_cast namespace reinterpret_cast try
bool explicit new static_cast typeid
catch false operator template typename
class friend private this using
const_cast inline public throw virtual
delete mutable protected true wchar_t当使用标准ASCII字符集时,以下11C++保留字不是必不可少的,但已添加了这些保留字,以为某些C++运算符提供更具可读性的替代方案,并有助于使用缺少C++所需字符的字符集进行编程。
and bitand compl not_eq or_eq xor_eq
and_eq bitor not or xor热门推荐
3 祝福语简短的微信
10 幼儿祝福语大全简短贺卡
11 感谢教官文案祝福语简短
12 鼠年同事祝福语简短创意
13 元旦祝福语 简短独特群发
14 妈咪跟我生日祝福语简短
15 给儿子新婚祝福语简短
16 伴娘祝福语长文案简短
17 恭喜高考完祝福语简短
18 生日祝福语送老公简短