hello guys,
how do i rectify this problem. i have been trying to use the below code to check the isdigit fucntion, but returns me 0 all the time.
i am working on DEV-C++ on XP platformCode:#include<stdio.h> #include<ctype.h> #include<locale.h> int main() { setlocale(LC_CTYPE,"English"); printf("%d",isdigit(4)); getchar(); }
thanks in adavnce
ssharish2005