When I enter a wrong input like a character it makes an error. How will I get rid of the error in my cin?I get it. Thank you for the idea!
When I enter a wrong input like a character it makes an error. How will I get rid of the error in my cin?still it doesnt break in the infinite cycle when I enter a character instead of a number.
When I enter a wrong input like a character it makes an error. How will I get rid of the error in my cin?@cppprogrammer297 (216) thank you for the solution! but still there is an error. This is when I run...
When I enter a wrong input like a character it makes an error. How will I get rid of the error in my cin?I'am beginner in C++.I have a problem with my program can somebody tell what will I do to stop the t...