When teaching programming, I constantly find myself
subdividing topics into sub-topics.
I am going to subdivide the topic of primitive types
into five categories:
Hopefully this categorization will make it possible for me to
explain these types in a way that is easy for you to understand.
- Whole-number types
- Floating-point types
- Character types
- Boolean type
- String type (not strictly a
primitive type, although it has become a core part of the C++ programming