i am having a problem with the function isdigit from the library cctype. isdigit is suppose to return true if the agrument in isdigit is a digit between 0-9. but it keeps returning 0...
here is my code...help is appreciated.
thanks..Code:#include <iostream> #include <cctype> using namespace std; int main(void) { int x = isdigit(5); cout << x; return 0; }