CHAPTER 6: DEFINING CLASSES AND ABSTRACT DATA TYPES
6.1 Structures
Structures for Diverse Data
Structures as Function Arguments
Initializing Structures
6.2 Classes
Defining Classes and Member Functions
Public and Private Members
Summary of Some Properties of Classes
Constructors for Initialization
Constructors with an Initialization Section
Another Example: A TimeType Class
Another Example: X Class
6.3 Abstract Data Types
Classes to Produce ADTs
Software Engineering: Some Design Considerations