Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

IOCCC winners announced

Name: Anonymous 2014-01-06 0:14

2013 IOCCC winners announced. ( http://ioccc.org )

This is usually a depressing event for me because it's always been my dream to compete in one of these (although I officially realized I never will after toledo of 2005), but this year was especially bad. Endoh and Cable, man.

Name: Anonymous 2014-01-06 2:54

>>6
It's just a macro, so the to-replace text is i(B,M) and the replacement is B(o){return M;}

For example

#define i(B,M)B(o){return M;}

int main(void)
{
int o = 3;
i(if,2)
}


through gcc -E becomes

# 1 "a.c"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "a.c"

int main(void)
{
int o = 3;
if(o){return 2;}
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List