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