Data-only objects have been around a lot longer than true objects, and a lot can be done with them without resorting to member functions and other OOP-specific techniques!
Sample Data a text file that can be used with all the following examples
Example 1 Base definitions and displaying input data
Example 2 Find the youngest person in the list
Example 3 Find the oldest person in the list
Example 4 Find the average age of all the people in the list
Example 5 Ask for an age and only display those entries in the list at or above that age
Example 6 Ask for an age and only display those entries below that age
Unified Example Display a bunch of statistical data about a list of people (uses all the individual functions from examples 1 6)
The combined example broken into three files