CPP Keywords
Keywords in C++.
Some words are reserved by C++, and you cannot use them as variable names, which is:asm | do | if | return | typedef | auto |
double | inline | short | typeid | bool | dynamic_cast |
int | signed | typename | break | else | long |
sizeof | union | case | enum | mutable | 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 | |||
In addition, the following words are reserved: | |||||
and | bitand | compl | not_eq | or_eq | and_eq |
bitor | not | or | xor | xor_eq |
© 2010 by Finnesand Data.
All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the
correctness in the pages or source codes.
The risk of using this web-site pages or any program
codes from this website is entirely at the individual user.