PDA

View Full Version : ASCII art source code.



Brian
02-18-2002, 05:36 PM
#include <stdio.h>
int main (void)
{ printf("Hello,")
;printf(
/**/" \
world\
.\n\r"
);int
a = 0;
a=a+1;
a++;a=2;
printf (" "); a++ ;
a = a+ 5/2 + a; a=5;
a = 999; return 0;}


Yeah, this one is pretty crap. Submit your own!

ober
02-19-2002, 08:37 AM
you really do have absolutely NOTHING to do, don't you? :rolleyes:

Brian
02-19-2002, 11:55 AM
Originally posted by ober5861
you really do have absolutely NOTHING to do, don't you? :rolleyes:

If you had something to do, would you be replying?

alex
02-19-2002, 02:12 PM
This is not my own...



#define fine #define de #define/**/ /**/*#define*/
#define de #define
#define do de

do { begin
do you like (green eggs and ham++)?
do you eat them: in a box?
do you eat them with a fox?0
do } end

fine
fine, just fine.

/*@@@@@@@@@@@@=___
/@@@@@@@@@@@@@@@@@@@a
@@@@@@@@@@@@@@@@@@@@@
|@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@
\@=~ ~~@@@/
\ /
\ |
/@@@@@===__ |
@@@@@@@@@@@@==/
/@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@
/ ~~~====@@@@@@
/ ~~~/
| /
/____ |
@@@@@@@@=====__/
@@@@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@|
___/ ~~~~@@*/
char groo(p,q)int p;int q;{return
((char) (--q*q+ (p/10)*q+--p))
; }void grem /**/ (){ int x=0
; printf(" ")
;/**/ /**/ for(;x<16
; x++)printf
( "%c",groo(x
, 8)) ;printf
( "\n\n")
; }void cred(a
) int a;{int
x=0;printf
( "%c "
, /*_____===~*/ groo(a,8))
; for(;x<16
; x++)printf
( "%c",(char)
a*16+ x);printf(
"\n");}main(a
,b)int a;
char **b ;{int x=2;
do(x=0;x<4;x++)exit(0);
for(grem();x<1<<3+(int)b[0]
[0]%2;)cred (++x-1);}


http://www.ioccc.org/1996/gandalf.c

Brian
02-19-2002, 02:25 PM
neat