Share via


Types

C++ supports three kinds of object types:

  • Fundamental types are built into the language (such as int, float, or double). Instances of these fundamental types are often called “variables.”
  • Derived types are new types derived from built-in types.
  • Class types are new types created by combining existing types. These are discussed in Chapter 8, Classes.