4 ms·
My 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[
by johnx123-up 14y ago
My 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