|
關鍵字就是系統已經使用的名稱,使用者不可再以此名稱做為變數
名稱或函數名稱。
C++ 關鍵字
array |
each |
literal |
safecast |
union |
auto |
else |
long |
sealed |
unsigned |
bool |
enum |
mutable |
short |
virtual |
break |
Event |
namespace |
signed |
void |
case |
extern |
new |
sizeof |
volatile |
catch |
finally |
nullptr |
static |
while |
char |
FALSE |
private |
struct |
|
Class |
float |
protected |
switch |
|
const |
for |
public |
Template |
|
continue |
friend |
ref class |
this |
|
decltype |
gcnew |
ref struct |
throw |
|
default |
generic |
register |
TRUE |
|
Delegate |
goto |
return |
try |
|
do |
if |
|
typedef |
|
double |
in |
|
typeid |
|
|
initonly |
|
typename |
|
|
inline |
|
|
|
|
int |
|
|
|
|