O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Complex Data Types

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required