|
| Total Answers and Comments: 2 |
Last Update: February 15, 2009 Asked by: mailmeskb |
|
| | |
|
Submitted by: amorjinx
//Not the best way to do it.. I make ruthless use of memory //but still gave it a shot ;) #include <stdio.h> #include <stdlib.h> int wap_all(char *ip, char *op, int len, int occupied); int main(int argc, char **argv) { char *ip,*op,*temp; int i,len; if(argc !=2) { printf("Improper usage. use wap <input string>n"); getch(); exit(1); } ip = argv[1]; for(i=0; ip[i]!=' | |