12.06.2015 Views

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

The Annoyance Filter.pdf - Fourmilab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

202 OVERALL PROGRAM STRUCTURE ANNOYANCE-FILTER §254<br />

254. Overall program structure.<br />

Here we put all the pieces together in the order required by the digestive tract of the C++ compiler.<br />

Like programmers, who must balance their diet among the four basic food groups: sugar, salt, fat,<br />

and caffeine, compilers require a suitable mix of definitions, declarations, classes, and functions to get<br />

along. Compilers are rather more picky than programmers in the order in which these delectations are<br />

consumed.<br />

〈 Preprocessor definitions 〉<br />

〈 Include header files 232 〉<br />

〈 Global variables 226 〉<br />

〈 Class definitions 10 〉<br />

〈 Command line arguments 239 〉<br />

〈 Class implementations 11 〉<br />

〈 Master dictionary 225 〉<br />

〈 Global functions 184 〉<br />

〈 Utility functions 219 〉<br />

〈 Main program 223 〉

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!