0 Members and 1 Guest are viewing this topic.
Okay, I think I know how. Here's my guess.Your file consists of "a();" and you compile it with gcc cheat.c -o cheat -D'a()=insert whole code here'.
ab
all: gcc test-noincl-crazy.c \ -include "stdio.h" \ -D'f=for(i=0;i<4;i++){' \ -D'a=char s[255],*p,r[4],i=0,x=0,c[]="code";' \ -D'b=void main(){fgets(s,255,stdin);f p=strchr(s+x,c[i]);if(!p){printf("0\n");return;}x=p-s;r[i]=x+1;}f printf("%i\n",r[i]);}}' \ -o test
[11:31:08 PM] JWinslow23 Yes...1984.[11:34:35 PM] JWinslow23 Welp, got a TI-BASIC solution to 177 bytes.