What am I missing in my function?
I just wrote another function for checking to see if one string contains another string or not. I named it containsStr(), and I used different logic in it then my last version for a function which does this. But I can't figure out why it doesn't work. Please look over the code, and offer any insight you can (whilst taking care not to comment on the stuff about fingers... :p Sorry, I was bored, and wanted to make my code a little more interesting).
Here's the codepad code link:
C++ code - 75 lines - codepad