J
jraul
Hi,
If you cin >> x, where x if of type char, and you input a number 7, it
will read the char '7'. However, char's are really integer types, so
is it possible to set a flag so that you can input an integer that
will fit in the range of a char (say 100)? I don't think so, but just
checking.
If you cin >> x, where x if of type char, and you input a number 7, it
will read the char '7'. However, char's are really integer types, so
is it possible to set a flag so that you can input an integer that
will fit in the range of a char (say 100)? I don't think so, but just
checking.