Saturday, May 22, 2010

I have to inpu integer for c++ code how can i check whether the user input integer or a string character if ..

the user input a string character how to promt him ro enter integer again

I have to inpu integer for c++ code how can i check whether the user input integer or a string character if ..
there are functions available in ctype.h header


isalph()


isalnum()


isdigit()


use them


No comments:

Post a Comment