Guest_imported
New member
- Jan 1, 1970
- 0
I have a program that is expecting a double from a cin statement. I want to make sure it doesn't go into an infinite loop if someone enters a character instead. I am just starting at C++ in school. Thanks.