+ 2
How do i check if the input is an integer or a string in c++?
Check if it is integer or string
1 Respuesta
+ 6
you define a variable as a string you must include string and then use strtol to find out if there is a number in the string
Check if it is integer or string