C++ as a Modular Language

Similar to most modern high-level languages, C++ supports hierarchies of building blocks for program data and for program operations. From a software engineering point of view, the benefits of modularization for large projects include division of labor, simpler programming tasks, reusable and maintainable program elements, and the opportunity to study the program at different levels, either in general (disregarding details), or in detail (disregarding high-level issues).

When used correctly, these benefits result in higher productivity both for development and for maintenance and in fewer errors.

C++ supports programmer-defined aggregate data types: arrays, structures, unions, and enumerations. Their components can ...

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.