ok what seems to be tripping me up on a few of these contest is how to deal with a blank input such as a space or carraiage return. I am trying to use cin and can't seem to trap it.
I have tried
while(cin >> input)
but i loop forever.
need help with cin and blank inputs
Moderator: Board moderators