The aim of this chapter is to introduce you to ways in which the standard data types available to the C programmer can be extended by using more complex data types. These are called abstract or user-defined data types.
These constructs are very useful in building a program that’s capable of dealing with data in a logical fashion. Some of the pitfalls and caveats are pointed out along the way, and you’ll see an example that should help you create your own complex data types.
After you work through this chapter, you should be able to model real-world data in a coherent manner. This is a vital part of being able to create useful applications.
There are a number of reasons why knowing about complex data types is so ...