4 ms·
There's actually a book that covers some of the old contest winners: Obfuscated C And Other Mysteries by Don Libes http://www.amazon.com/Obfuscated-Other-Myst
by kqr2 14y ago
There's actually a book that covers some of the old contest winners:
Obfuscated C And Other Mysteries by Don Libes
http://www.amazon.com/Obfuscated-Other-Mysteries-Don-Libes/dp/0471578053/ http://www.amazon.com/Obfuscated-Other-Mysteries-Don-Libes/d...
- mtoddh 14y ago+1 for this book - I rarely see it mentioned when it comes to C books. Reminds me of van der Linden's C book in that it uses non-traditional examples to illustrate concepts.
- johnx123-up 14y agoMy all time favorite is Wesley's code in 1992 that prints world map (found through A to Z of C): main(l ,a,n,d)char**a;{ for(d=atoi(a[1])/10*80- atoi(a[2])/5-596;n="@NKA\ CLCCGZAAQBEAADAFaISADJABBA^\ SNLGAQABDAXIMBAACTBATAHDBAN\ ZcEMMCCCCAAhEIJFAEAAABAfHJE\ TBdFLDAANEfDNBPHdBcBBBEA_AL\ H E L L O, W O R L D! " [l++-3];)for(;n-->64;) putchar(!d+++33^ l&1);}
- pooriaazimi 14y agoCare to share the output also (for those who don't have a C compiler handy)? Thanks!
- johnx123-up 14y agoScreenshot mentioned there too.. in 2nd page http://guideme.itgo.com/atozofc/ch13.pdf http://guideme.itgo.com/atozofc/ch13.pdf
- zer 14y agohttps://gist.github.com/3910435 https://gist.github.com/3910435