Hi!
I read the clearing input buffer article on the top of the c++ forum but I don't really get it, and it doesn't work.
This is my problem, I know that cin is just like a file in that it has a buffer (correct me if I'm wrong, I think I'm right) and can use the same things that istream objects can use.
so, that (if I'm right) would mean that this is legal cin.ignore
. but for some reason it's not... what's wrong? the error occurs in just the one spot and it seems to not be related to any I did in the program elsewhere.
just ask if you want to see the source
thanks,
Jt