There are four types of tokens in C++ , they are keywords, Identifiers, constants and operators
- Keyword
Keywords are an important part of a language definition. All keywords have fixed meaning cannot be changed. All keywords have fixed meaning cannot be changed. They implement specific features of the language and they cannot be used as a normal identifiers.
Prerequisites
Before we dive into the world of C++, ensure the following:
- Basic Programming Concepts:
i) Familiarity with fundamental programming concepts such as variables, data types, control structures (if statements, loops), functions, and arrays.
ii) Understanding of how to write simple programs and the logic behind them. - Problem-Solving Skills:
Ability to break down problems into smaller, manageable parts and develop algorithms to solve them.
C++ Keywords
asm | double | new | switch |
auto | else | operator | template |
break | enum | private | this |
case | extern | protected | throw |
catch | float | public | try |
char | for | register | typedef |
class | friend | return | union |
const | goto | short | unsigned |
continue | if | signed | virtual |
delete | inline | sizeof | void |
do | int | static | volatile |
default | long | struct | while |