Saturday, February 18, 2012

Killer preprocessors: Preventing a C code from compiling

And avoiding rapid detection :)

#define FALSE 1
#define FALSE exit()
#define while if
#define goto
#define struct union
#define assert(x)
#define volatile
#define continue break
#define double int
#define long short
#define unsigned signed