Hmm, try building a function by yourself, the function runs in the string and check every char to see if one of them is character (ascii value of a char) if yes, return false and this will stop the program...
A little example can be found here, I did it in 2 minutes so don't look at the code
Code:
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int existCh (char *str) {
while (*(str++))
if (isalpha(*str)) //if its alphabetic
return 1; //return true, yes, exist a char
return 0; //return false, don't exit a char
}
int main(void) {
char *test = "14s43";
if (existCh(test))
printf("Hello, in the string: %s, there is a alphabetic char!\n",test);
else
printf("Lucky, in the string: %s, there isn't any alphabetic char\n",test);
return 0;
}