cpp 专题
专题目录
您的位置:cpp > cpp 专题 > C++关键字
C++关键字
作者:--    发布时间:2019-11-20

关键字是保留字。我们不能将其用作变量名称,常量名称等。下面给出了c语言中可用的c++语言中的32个关键字列表。

auto break case char const continue default do
double else enum extern float for goto if
int long register return short signed sizeof static
struct switch typedef union unsigned void volatile while

下面给出了在c语言中不可用的30个c++语言关键字的列表。

asm dynamic_cast namespace reinterpret_cast bool
explicit new static_cast false catch
operator template friend private class
this inline public throw const_cast
delete mutable protected true try
typeid typename using virtual wchar_t

网站声明:
本站部分内容来自网络,如您发现本站内容
侵害到您的利益,请联系本站管理员处理。
联系站长
373515719@qq.com
关于本站:
编程参考手册