Chapter 23. Modular Programming

I l @ ve RuBoard

Many hands make light work.

”John Heywood

So far, we have been dealing with small programs. As programs grow larger and larger, they should be split into sections, or modules . C++ allows programs to be split into multiple files, compiled separately, and then combined (linked) to form a single program.

In this chapter, we go through a programming example, discussing the C++ techniques needed to create good modules. You also are shown how to use make to put these modules together to form a program.

I l @ ve RuBoard


Practical C++ Programming
Practical C Programming, 3rd Edition
ISBN: 1565923065
EAN: 2147483647
Year: 2003
Pages: 364

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net