Electrical
and Computer Engineering
1 of 17
UAH
CPE 112
Structured Data Types
•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