The International Obfuscated C Code Contest is back. The stated goals of the IOCCC are to, “Write the most obscure C program, show the importance of programming style (by doing the opposite), stress the preprocessor to the breaking point, and illustrate some subtleties of the C language.” If you think you’re up to the task of abusing your compiler, check out the rules and guidelines for the contest.
There’s nothing quite like having the code for a flight simulator look like a plane, or calculating pi by measuring the area of C code. The submissions to the IOCCC are classic hacks; very clever things that shouldn’t work, but do despite themselves.
There hasn’t been an IOCCC competition since 2006, and no one knows if it will be around next year. We’ve already seen a few potential entries for this year, like piping chars into /dev/audio to generate a song and hyperlinks all the way down. If you’ve got something you’re working on, feel free to send it in.
via /.
“want more precision? write a bigger program!”
Subtitles? You mean subtleties? :P
Oh wow. My fingers were thinking.
why you’d want to do this is anyones guess..
The link to the “measuring pi” code example would be much appreciated. My friend told me about it years ago and I have been looking for it ever since
http://en.wikipedia.org/wiki/International_Obfuscated_C_Code_Contest#Examples
Meh. C is obfuscated enough as it is. i++;{} etc.
The International Obfuscated C Code Contest Competition? This is taking the whole ATM Machine deal to a new level.
STATIC bool func[char[4000]][char[4000](void){return *block;}
This still makes no sense..it seems like a waste of time..
I like what this does:
http://robert.martin-legene.dk/files/impossible.c
STATIC Bool (*func[char[4000]][char[4000]])(void)
{
return *block;
}
STATIC Bool (*func[Char[4000]][Char[4000]])(void)
{
return *block;
}
// char *block with wise focus
// char Char pareil
C+RegEx=Winner!