125 Ad spot 125 Ad spot

ACMSolver or Art of Programming? 24 X 7 Updates

From 2002 ACMSolver is campaigning for free programming knowledge!

4 July 2010 Comments Off

C- is alphanumeric

#include <ctype.h>
#include <stdio.h>

int main(void)
{
char ch;

printf(". to exit:");
for(;;) {
ch = getc(stdin);
if(ch == '.')
break;
if(isalnum(ch))
printf("%c is alphanumeric\n", ch);
}

return 0;
}

Tags: ,
4 July 2010 Comments Off

ACMSolver

ACMSolver

Art of Programming..?

Tags: