The C++ Keywords must be in your knowledge because you can not use them as a variable name.
C++ Keywords List
You can't use keyword as identifier in your C++ programs, its reserved words in C++ library and used to perform an internal operation.
In addition, the following words are also reserved:
And | bitor | not_eq | xor |
and_eq | compl | or | xor_eq |
bitand | not | or_eq |
You should also try to avoid using names from the C++ library, e.g. swap, max.
No comments:
Post a Comment