A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.wikibooks.org/wiki/C++_Programming/Code/Standard_C_Library/Functions/isalpha below:

C++ Programming/Code/Standard C Library/Functions/isalpha - Wikibooks, open books for an open world

From Wikibooks, open books for an open world

<

C++ Programming

|

Code/Standard C Library

|

Functions isalpha[edit | edit source] 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

Retrieved from "

https://en.wikibooks.org/w/index.php?title=C%2B%2B_Programming/Code/Standard_C_Library/Functions/isalpha&oldid=3676196

"

Category

:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4