Anybody ever seen any of these ioccc competition programs? It stands for International Obfuscated C Code Competition. Essentially they are all insane C programs, typically that you couldn't read the code if your life depended on it!
Check out this entry. The original program is a face. You compile it, run the executable and it outputs a new picture which is real C code. You compile this new code, run the executable and it outputs yet a new picture which is a different C program. You compile this one, execute and it outputs the second picture, and then the pattern repeats between pics 2, 3, 4, etc...
Here are the original source and a shot of the output of the program at each step. The output at each step is a new program that can be compiled! I find this pretty cool, it is my favourite IOCCC program.
http://www.ioccc.org/2000/dhyang.c
![]()









LinkBack URL
About LinkBacks



Reply With Quote

