C++保留的关键字
来源:互联网 发布:新网站seo 编辑:程序博客网 时间:2024/05/19 01:08
关键字是预先保留的标识符,每个关键字都有特殊的含义。我们不能在程序中使用与关键字同名的标识符。以下是C++所保留的关键字:
asm[1]
auto
bad_cast
bad_typeid
bool
break
case
catch
char
class
const
const_cast
continue
default
delete
do
double
dynamic_cast
else
enum
except
explicit
extern
false
finally
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
operator
private
protected
public
register
reinterpret_cast
return
short
signed
sizeof
static
static_cast
struct
switch
template
this
throw
true
try
type_info
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
while
asm[1]
auto
bad_cast
bad_typeid
bool
break
case
catch
char
class
const
const_cast
continue
default
delete
do
double
dynamic_cast
else
enum
except
explicit
extern
false
finally
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
operator
private
protected
public
register
reinterpret_cast
return
short
signed
sizeof
static
static_cast
struct
switch
template
this
throw
true
try
type_info
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
while
注:array不是关键字
1 0
- C++保留的关键字
- C的关键字和保留标识符
- C的关键字和保留标识符
- C的关键字和保留标识符
- C语言的标准库/保留关键字
- C语言的关键字和保留字符
- [C/C++] 不常见的关键字(保留字)
- sqlserver的保留关键字
- 的保留关键字一览
- JavaScript 的保留关键字
- Mysql保留的关键字
- mysql 保留的关键字
- 保留关键字的概念
- C语言中的保留关键字
- SQLServer的保留关键字一览
- sql server的保留关键字
- SQL Server 的保留关键字
- C语言之关键字、保留字
- 我们为什么需要DTO(数据传输对象)
- IOS Xib的基本使用
- 前端在html页面之间传递参数的方法
- 悲观锁 乐观锁
- 解析xml文件
- C++保留的关键字
- 图震设计文档-Android
- 视图的属性的生命周期
- WKWebView替换UIWebView
- linux 内核移植和根文件系统的制作
- CSS样式覆盖规则
- Android最佳性能实践(一)——合理管理内存
- Problem G
- eclipse中项目为什么会出现红色感叹号?