O'Reilly logo

An Introduction to Design Patterns in C++ with Qt 4 by Paul Ezust, Alan Ezust

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

Libraries are groups of code modules organized in a reusable way. This chapter introduces how they are built, reused, and designed.

7.1

Code Containers

170

7.2

Reusing Other Libraries

171

7.3

Organizing Libraries: Dependency Management

173

7.4

Installing Libraries: A Lab Exercise

176

7.5

Frameworks and Components

178

Libraries generally contain code that has already been designed, tested, and compiled, and can be easily linked into your application. Libraries are essential for making software reuse possible. They can be packaged in a number of different ways, such as

  1. Source code

  2. Binary format (dynamic library, shared object, static library, run-time library), called lib for short.

  3. lib + header files (sometimes referred to as “-dev” or “-devel” ...

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