Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <ctype.h> int isalnum(int c);
| |
Returnwert | != 0 | alphanumerisch. |
| 0 | nicht alphanumerisch. |
Hinweise |
| |
Beispiel | #include <ctype.h>
#include <stdio.h>
int main(void)
{
int c;
while((c = getchar()) != EOF)
printf("%s : %c\n", ((isalnum(c)) ? "alphanumerisch" : "Sonstiges"), c);
return 0;
}
| |
Siehe auch | isalpha, isascii, iscntrl, isdigit, isgraph, islower, ispunct, isprint, isspace, isupper, isxdigit, isebcdic, iswalnum | |