//normal text to leet text to o text //coded by Hroshi-:-Electric Utensil #include #include #define TRUE 1 #define FALSE 0 /* Main functions -=nt2lt=- normal text to leet text -=nt2ot=- normal text to 'o' text */ int nt2lt(char *atp); int nt2ot(char *atp); main(int argc,char *argv[]) { if(argc == 3) { unsigned long int ts = if(strcmp(argv[1],"l") == 0) { printf("nt2lt()\n"); nt2lt(argv[2]); } if(strcmp(argv[1],"o") == 0) { printf("nt2ot()\n"); nt2ot(argv[2]); } exit(TRUE); } } //atp is -argv[] text pointer- int nt2lt(char *atp) { printf("atp = %s",atp); for(x = 0; x < ts; x++) { switch(*atp[x]) { default: break; } } } int nt2ot(char *atp) { printf("atp = %s",atp); switch(*atp[x]) { default: break; } }