13 martie 2007

A fi si a nu fi...

#if defined (BOSS_A_WANTS_SOMETHING) && !defined (BOSS_B_WANTS_SOMETHING)
//piece of code
#if !defined (BOSS_A_WANTS_SOMETHING) && defined (BOSS_B_WANTS_SOMETHING)
//another piece of code
#else
#error FIGHTCLUB
#endif

Niciun comentariu: