hey all,
can some one throw me a bone and tell me why this cant find the word cin? the rest of the program tests ok, so the mistake is with my logic
Code:for(counter=0;counter<text.size();counter++) { if(text[counter]=='c' && text[counter+1]=='i' && text[counter+2]=='n') { cout<<"cin found!"; } counter++; }