A cute simple program forming "main" with a macro. Have fun.
#include <stdio.h>
#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)
int begin()
{
printf("hello");
return 0;
}
You can download from svn using,
svn checkout http://codeoftheday.googlecode.com/svn/trunk/02Aug2007
Enjoy.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment