Programs with Several Files

When writing a large program, you may find it convenient to split it several source files. This has several advantages, but makes compilation more complicated.

This section will discuss advantages and disadvantages of using several files in a program, and advise you on how to divide a program between several files, should you wish to do so.

  Go to #ifdef to remove statements     Go to Index               Go to Advantages