In my book, it says find() must be used like so:
iter = var.find(scores.begin(), scores.end(), score);
but later it uses this in practice:
while (used.find(guess) != string::npos)
Why can you simply pass 'guess' var to it here and not need to search a range? Isn't find() an algorithm that requires 3 arguments to work?
*Guess is 'char guess' declared earlier.