Journal JDWTopGuy's Journal: 165 characters! 8
And it's still valid C! Thanks to my anonymous helper, plus some more experimenting on my own... the practically sig-sized JDWTopGuy.c (165 characters):
#include <stdio.h>
int main(){char c=0,x[]={37,34,43,1,42,55,1,56,35,1,58,1,60,1};while(printf("%c"+((c<14)?0:2),((x[++c]==1)?1:0)+(x[c]*2)));printf("\n");return 0;}
Obviously slashdot is messing with it, everything past the include should be on one line. BTW, this version prints "JDWTopGuy", not "JDWTOPGUY".
I haven't had a chance to test it on an linux box, but it compiles fine with gcc 3.1 on Mac OS X 10.2.8.
Heh (Score:2)
Re:Heh (Score:2)
I like REBOL for its easy, clean syntax. I like Java for its rich and well-documented API. Python looks good too, but I haven't done too much with it yet.
148! (Score:1)
main(){char
c=0,x[]={37,34,43,1,42,55,1,56,35,
Take that JDWTopGuy's ego!
Re:148! (Score:1)
Re:148! (Score:2)
Re:148! (Score:2)
Take that, JM Apocalypse's ego!
Re:148! (Score:1)
But, you are failing to realize that it still compiles.
Re:148! (Score:2)
I could change "char" to "int" and save one character... w00t!