yeah just make a while loop that does not go out of scope until char "y" || "Y" || "n" || "N" is entered. thats the way i always did it
if you do what I stated in a while loop with string instead of char it should work. There is no reason why it would mess up the 2nd users input if written correctly.
You said char first, then string in your last post.
I tried it with both plain char and a plain string. Neither would work properly. Either one would give an error in the logic some way or another. I tried different variations of char, string, cin.get cin.ignore, and a bunch of other stuff...what I posted in my last bit of code is all I managed to get to get work exactly as I stated: It will ask for a y/n first, then anytime anything other than a y or n is input, it'll reask for the input and specify y or n again. It'll repeat process for the 2nd user. So far, has worked every time I've tried it this method, none others would work for all tests.
Tests I used were to enter the following:
yes, sure, okay, whatever, nope, no way, y, (and a y or n as the last one, first y, then repeat process for an n).