 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Unlike
a simple data type which has only a single
|
|
|
data
item, a structured data type is one in which
|
|
|
|
each
value is a collection of component items.
|
|
|
• |
String
is an example of a structured data type.
|
|
|
|
Individual
elements are accessed by index:
|
|
|
|
myString[3]
|
|
|
• |
C++
has the following structured data types:
|
|
|
struct, union, class, and arrays
|
|