Malicious Defines

Do you have a smug bastard of a programmer in your office whose code always seems to work with a minimum of debugging? If so, then heres a few #defines to keep them busy.

#define main Main /* Now try to link this! */

#define stdout stderr /* No problems, until you pipe it */

#define while(x) if(x)

#define struct union /* Great space saver */

Nach oben

more...

Search

Internet Ratgeber