12.05.2015 Views

type - David Vernon

type - David Vernon

type - David Vernon

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.

Functions<br />

Inline Functions and Macros<br />

• A macro can be defined more than once<br />

– The replacement text MUST be identical<br />

#define LENGTH 100<br />

...<br />

#define LENGTH 1000 // not allowed<br />

– Consequently, the same macro can now be defined<br />

in more than one header file<br />

– And it is valid to include several such header files in<br />

the same program file<br />

Copyright © 2007 <strong>David</strong> <strong>Vernon</strong> (www.vernon.eu)

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

Saved successfully!

Ooh no, something went wrong!