2.2 关键字
2.2.1 关键字一览表
asm | do | if | return | typedef |
---|---|---|---|---|
auto | double | inline | short | typeid |
bool | dynamic_cast | int | signed | typename |
break | else | long | sizeof | union |
case | enum | nutable | static | unsigned |
catch | explicit | namespace | static_cast | using |
char | export | new | struct | virtual |
class | extern | operator | switch | void |
const | false | private | template | volatile |
const cast | float | protected | this | wchar _t |
continue | for | public | throw | while |
default | friend | register | true | |
delete | goto | reinterpret_cast | try |
2.2.2 数据类型相关的关键字
char、short、int、long、float、double、struct、union、enum、signed、unsigned、void
2.2.3 存储相关的关键字
register、static、const、auto、extern
2.2.4 控制语句相关的关键字
if、else、break、continue、for、while、do、switch case、goto、default