c - Implicit declaration of functions warning -
i'm trying use functions isdigit() have correct include statement, #include <ctype.h> however, seem getting warning when compile,
warning: implicit declaration of function 'isdigit' invalid in c99 [-wimplicit-function-declaration] the line compiles warning if(isdigit(atoi(inputline)) { can give me feedback missing here? thanks.
the name of function isdigit(), not isdigit(). c case-sensitive.
Comments
Post a Comment