CS 102
[Schedule] [Examples] [Programs] [Notes & Reference] [Syllabus] [Lab & TA] [Tests] [Grades]

Structures

 

Arrays: collections of homogeneous (similar type) objects
Structures (or simply Structs): collections of heterogeneous (different types) objects

Definition: A structure is a collection of related values. Structures are constructed using objects of other types.

Examples to illustrate the need:

 

 


[CS Dept] [UIC] [Prof. Reed]