Table of Contents
[ fromfile: libraries.xml id: libraries ]
Abstract
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.
Each computer system can only execute code written in its own low level, platform specific language.
The compiled library code does not need to be incorporated into the executable file because it can be dynamically linked at runtime.
This results in smaller executable files and more efficient use of memory.
C++ Libraries can be packaged in a few different ways.
Open source package
dev
package
Runtime library
To summarize, the variety of ways that C++ code can be organized and packaged facilitates code sharing and reuse.
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |