C++ 63个关键字表

C++关键字表

C++中有63个关键字,所谓的关键字,就是类似于保留字,不可将其自定义为标识符使用,比如用来声明定义变量、函数、类等等。C++的关键字如下表:

asmautoboolbreakcasecatch
charclassconstconst_castcontinuedefault
deletedodoubledynamic_castelseenum
explicitexportexternfalsefloatfor
friendgotoifinlineintlong
mutablenamespacenewoperatorprivateprotected
publicregisterreinterpret_castreturnshortsigned
sizeofstaticstatic_caststructswitchtemplate
thisthrowtruetrytypedeftypeid
typenameunionunsignedusingvirtualvoid
volatilewchar_twhile

C++保留字关键字在线查询器

如果觉得看上面的表格查询关键字比较麻烦,不容易找,那么可以使用本站提供的:C++保留字关键字在线查询器

免责声明:内容仅供参考,不保证正确性。


全栈后端 / C++教程 :
















Copyright © 2022-2024 笨鸟工具 x1y1z1.com All Rights Reserved.