C++ offers three techniques of defining a new data type: a structure, a class, and a union. These are also referred to as composite data types. Learn: Object Creation and Access, Global Objects, Access to a Member of a Class, Type-Defining a Class, Class Forward Definition, The Access Levels of a Class, Initializing Each Member of a Class, Initializing an Object as a Whole, Static Member Variables, Techniques of Creating a Classic C Styles Object, References, Constant Objects and more.