|
|
|
|
|
|
|
Figure 11-1
Atomic (Simple) and Structured Data Types |
|
|
|
|
|
|
|
|
values and imposes a specific arrangement on them (see Figure 11-1). The method used to access the individual components of a structured type depends on how the components are arranged. As we discuss various ways of structuring data, we'll look at the corresponding access mechanisms. |
|
|
|
|
|
|
|
|
Figure 11-2 shows the structured types available in C++. This figure is a portion of the complete diagram presented in Figure 2-1. |
|
|
|
|
|
|
|
|
In this chapter and the next two chapters, we examine array data types. The struct and union types are the topic of Chapter 14, and Chapter 15 explores a very powerful structured type-the class. |
|
|
|
|
|
|
|
|
Figure 11-2
C++ Structured Types |
|
|
|
|
|