Software 1 - Preprocessor & misc. (11)


administrivia

Web Page - http://www.cs.tau.ac.il/~efif/courses/Software1_Spring_04


The C Preprocessor


The C Preprocessor syntax


File inclusion


The difference between the <> and ""


What should you put in header files?


What should you put in header files?


Using a third-party library


Macro definition and substitution


Macro name and replacement text


Macro use


Macro definition and substitution syntax


Macro evaluation


Macros which look like little functions


Conditional compilation


Other directives


Conditional compilation is useful


Example


Conditional compilation is useful


A program that prints out it's own code?

practices prev top next
Maintained by Efi Fogel. Last modified: May 22 2004.