One of the things that distinguishes humans is our ability to categorize. We don’t see hundreds of shapes in nature; we see animals, rocks, insects, and trees. We don’t just see animals; we see bears, foxes, raccoons, sasquatches, and so forth. We divide things into various classes that tell us what type of thing they are.
A sasquatch is a type of mammal. A mammal is a type of animal. An animal is a type of living thing.
In C++, a type is an object with data and a set of abilities. You’ve worked with built-in types such as
float numbers. You ...