Chapter 5. Aggregation with Programmer-Defined Data Types

Topics in this Chapter

In the previous chapter, we studied the tools for implementing algorithms in C++. Conditional statements, loops, and jumps are the language constructs you use to indicate how computations should be performed and in what sequence. In this chapter, you will take the next step toward learning how to implement well-designed C++ programs. We will discover how to expand the set of data types that comes with the language.

C++ allows the programmer to define collections of data: arrays (homogeneous collections), structures (heterogeneous collections), ...

Get Core C++ A Software Engineering Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.