请问C++里  哪些是关键字 关键字的定义是什么?

[复制链接]
查看11 | 回复0 | 2009-1-30 06:28:38 | 显示全部楼层 |阅读模式
请问C++里  哪些是关键字 关键字的定义是什么?

                                                                                                vc中的关键字__abstract 2 abstract __alignof Operator array __asm __assume __based bool __box 2 break case catch __cdecl char class const const_cast continue __declspec default __delegate 2 delegate delete deprecated 1 dllexport 1 dllimport 1 do double dynamic_cast else enum enum class enum struct event __event __except explicit extern false __fastcall __finally finally float for for each, in __forceinline friend friend_as __gc 2 gcnew generic goto __hook 3 __identifier if __if_exists __if_not_exists initonly __inline inline int __int8 __int16 __int32 __int64 __interface interface class interface struct interior_ptr __leave literal long __m64 __m128 __m128d __m128i __multiple_inheritance mutable naked 1 namespace new new __nogc 2 noinline 1 __noop noreturn 1 nothrow 1 novtable 1 nullptr operator __pin 2 private __property 2 property property 1 protected public __raise ref struct ref class register reinterpret_cast return safecast __sealed 2 sealed selectany 1 short signed __single_inheritance sizeof static static_cast __stdcall struct __super switch template this thread 1 throw true try __try/__except, __try/__finally __try_cast 2 typedef typeid typeid typename __unaligned __unhook 3 union unsigned using declaration, using directive uuid 1 __uuidof value struct value class __value 2 virtual __virtual_inheritance void volatile __w64 __wchar_t, wchar_twhile所有带__的都是编译器自定义关键字,其它都是c++定义的                                       
提问者对答案的评价:
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行