List Of C++ Keywords :
Note: Do not use C++ Keywords as variable name.asm | else | new | this |
---|---|---|---|
auto | enum | operator | throw |
bool | explicit | private | true |
break | export | protected | try |
case | extern | public | typedef |
catch | false | register | typeid |
char | float | reinterpret_cast | typename |
class | for | return | union |
const | friend | short | unsigned |
const_cast | goto | signed | using |
continue | if | sizeof | virtual |
default | inline | static | void |
delete | int | static_cast | volatile |
do | long | struct | wchar_t |
double | mutable | switch | while |
dynamic_cast | namespace | template |
And | bitor | not_eq | xor |
---|---|---|---|
and_eq | compl | or | xor_eq |
bitand | not | or_eq |
Please do comment if you don't understand any part or want to know more or just want to say thanks. I love programming and love to teach my friends. Your suggestions and appreciation will make this blog much better.
Want to learn more? View List Of All Chapters
The 'reserved words' you listed above (and, and_eq, etc) are actually operator-replacement macro-constants from the iso646.h library.
ReplyDeleteGenerally they're only used when ASCII isn't available or because the software developer is expressing a preference to use a format for equations he considers more readable than the equivalent more-commonly-used symbols.
how many keywords in c++?
ReplyDeleteIf you really desire to get such type of information, visit this blog quickly.
ReplyDeletec++ programming
nice article for beginners.thank you.
ReplyDeletewelookups C++
javacodegeeks