C Language Pranks

Article 1074 of rec.humor.funny:
Path: athena.cs.uga.edu!emory!europa.asd.contel.com!uunet!looking!funny-request
From: guy@minster.york.ac.uk
Newsgroups: rec.humor.funny
Subject: malicious #defines
Keywords: computer, original, funny
Message-ID: [S37b.5047@looking.on.ca]
Date: 25 Jan 92 00:30:07 GMT
Lines: 18
Approved: funny@clarinet.com


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 */

Original, and tested. 

--
Selected by Brad Templeton.  MAIL your joke (jokes ONLY) to funny@clarinet.com
Attribute the joke's source if at all possible.  A Daemon will auto-reply.

Remember: Always give your jokes a descriptive "Subject:" line.
Don't use "joke" or "submission" or "joke submission," please.




Back to my Computer Humor Page
Back to my humor page
Back to my home page

nathan@visi.com