C++ 63个关键字表
C++关键字表
C++中有63个关键字,所谓的关键字,就是类似于保留字,不可将其自定义为标识符使用,比如用来声明定义变量、函数、类等等。C++的关键字如下表:
asm | auto | bool | break | case | catch |
char | class | const | const_cast | continue | default |
delete | do | double | dynamic_cast | else | enum |
explicit | export | extern | false | 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 | typedef | typeid |
typename | union | unsigned | using | virtual | void |
volatile | wchar_t | while |
C++保留字关键字在线查询器
如果觉得看上面的表格查询关键字比较麻烦,不容易找,那么可以使用本站提供的:C++保留字关键字在线查询器。
免责声明:内容仅供参考,不保证正确性。