到底哪些不能用?C++环境下的63个保留字(附图)
企业开发
2023-09-30 04:34:24
阅读次数: 0
A-D
- asm
- auto
- bool(布尔值)
- break(跳出循环)
- case(用于分支语句)
- catch
- char(字符)
- class
- const
- const_cast
- continue(结束循环)
- default(默认,用于分支语句)
- delete(删除)
- do
- double(双浮点)
- dynamic_cast
E-M
- else(否则)
- enum
- explicit
- export
- extern
- false(假)
- float(浮点)
- for(循环)
- friend
- goto
- if(若,单分支语句)
- inline
- int(整数)
- long(长整数)
- mutable
N-S
- namespace
- new
- operator
- private
- protected
- public
- register
- reinterpret_cast
- return
- short(短整数)
- signed(带符号的)
- sizeof(...的大小)
- static
- static_cast
- struct
- switch(多分支语句)
T-W
- template
- this
- throw
- true(真)
- try
- typedef
- typeid
- typena
- union
- unsigned(无符号的)
- using
- virtual
- void
- volatile
- wchar_t
- while(当...时)
X-Z(暂无)
转载自blog.csdn.net/m0_54909552/article/details/131638803