Chapter 7: Libraries and Design Patterns

Libraries are groups of code modules, organized in a reusable way. This chapter discusses how they are built, reused, and designed. Design patterns are also introduced and discussed.

The term platform refers to a particular combination of hardware architecture, especially central processing unit (CPU),1 and software framework, especially operating system (OS).2 Each computer system can only execute code written in its own low-level, platform-specific language. This low-level machine language does not resemble any natural human language, and few programmers are comfortable working directly with it.

For optimal use of programming resources (especially programmer time), you write programs in a high-level ...

Get Introduction to Design Patterns in C++ with Qt, 2nd Edition 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.