Your indentation could use a little work Adak.Code:while(c = strstr(&s[i], from)) { //i is the iterator for s while(&s[i]!= c) //j is the iterator for s1 s1[j++]=s[i++];
Quzah.
Your indentation could use a little work Adak.Code:while(c = strstr(&s[i], from)) { //i is the iterator for s while(&s[i]!= c) //j is the iterator for s1 s1[j++]=s[i++];
Quzah.
Hope is the first step on the road to disappointment.