2.7 Types

C++ supports three kinds of object types:

Fundamental types, which are built into the language (such as int, float, or double). Instances of these fundamental types are often called “variables.” These are discussed in “Fundamental Types”.

Derived types, which are new types derived from built-in types. These are discussed in “Derived Types”.

Class types, which are new types created by combining existing types. These are discussed in Chapter 8, “Classes.”