Reading from the Standard Input
When the characters cannot be converted to the desired type, stdin
gets in an unusable state. For example, entering "abc" when an int
is expected would make stdin
unusable.
When the characters cannot be converted to the desired type, stdin
gets in an unusable state. For example, entering "abc" when an int
is expected would make stdin
unusable.