isalpha [C++ Reference]
Keywords: c,string,isalpha
Date: 2008-10-14T15:42:02-0700

## isalpha

Syntax:

        #include <cctype>
        int isalpha( int ch );

The function isalpha() returns non-zero if its argument is a letter of the alphabet. Otherwise, zero is returned.

         char c;
         scanf( "%c", &c );
         if( isalpha(c) )
           printf( "You entered a letter of the alphabet\n" );

Related Topics: isalnum, iscntrl, isdigit, isgraph, isprint, ispunct, isspace, isxdigit