Posted by Eian Counts on 2001-03-17
Ok, I found this little bit of self replicating code and liked it so I
thought I would pass on the enjoyment:
#define X(Y) main(){printf("#define X(Y) %s\nX(%s)\n",#Y,#Y);}
X(main(){printf("#define X(Y) %s\nX(%s)\n",#Y,#Y);})
Anybody know of anything smaller?
Eian
Previous post | Next post | Timeline | Home