Originally Posted by
cerin
how can you make a hello world program without "hellworld in there somwhere?
The same way I did:
Code:
#include <stdio.h>
#define _1(x) putchar((l)=(x));
#define _2(x) ((l)<<(x))
#define _3(x) ((l)>>(x))
#define _4(x,y) ((x)&(1<<(y)))
#define _5(x) ((unsigned char)(~(x)))
#define _6(x,y) ((x)&(y))
#define _7(x,y) ((x)>>(y))
#define _8(x,y) ((x)<<(y))
#define _9(x) ((l)+(x))
#define _10(x) return (x);
int main(void){unsigned char l=1;_1(_2(6)+8)_1(_4(_2(1),7)-_4(127,4)-11)_1(_9(_4(l,2)+_4(l,2)-1))_1(_5(_5(l)))_1(_9(_6(_5(l),3)))_1(_4(l,5))_1(_2(2)-_3(2)-1)_1(l-_4(_2(1),3))_1(_9(_6(l,3)))_1(l-_3(4)+1)_1(l-(_8(_7(l,_3(4)),3)))_1(_8(_7(l,6),5)+1)_1(_2(3)+2)_10(_2(5))}