tobotras: (tongue)
tobotras ([personal profile] tobotras) wrote2006-03-03 05:21 pm

(no subject)

[livejournal.com profile] andjel, 37 байт :-D

main(i){for(;printf("%d\n",i++)<4;);}

хм... и правда работает...

[identity profile] ilya666.livejournal.com 2006-03-03 03:23 pm (UTC)(link)
ilya@debian:~$ gcc test.c
ilya@debian:~$ g++ test.c
test.c: In function `int main()':
test.c:2: error: `printf' undeclared (first use this function)
test.c:2: error: (Each undeclared identifier is reported only once for each
   function it appears in.)


Давненько я на голом C не писал.

Re: хм... и правда работает...

[identity profile] dzz.livejournal.com 2006-03-03 03:55 pm (UTC)(link)
Аналогично :)