PageRenderTime 2ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/www.cppreference.com/wiki/tr/c/string/isalpha

https://github.com/tsgates/cclookup
#! | 55 lines | 51 code | 4 blank | 0 comment | 0 complexity | 854e0853e9a5aafcc6fab384c3dc5d4e MD5 | raw file
 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr"
 4 lang="tr" dir="ltr">
 5<head>
 6  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 7  <title>tr:c:string:isalpha</title>
 8<meta name="generator" content="DokuWiki" />
 9<meta name="robots" content="index,follow" />
10<meta name="date" content="2010-10-28T18:17:27-0700" />
11<meta name="keywords" content="tr,c,string,isalpha" />
12<link rel="search" type="application/opensearchdescription+xml" href="http://www.cppreference.com/wiki/lib/exe/opensearch.php" title="C++ Reference" />
13<link rel="start" href="../../../../index.html" />
14<link rel="contents" href="http://www.cppreference.com/wiki/tr/c/string/isalpha?do=index" title="İndeks" />
15<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.cppreference.com/wiki/feed.php" />
16<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.cppreference.com/wiki/feed.php?mode=list&amp;ns=tr:c:string" />
17<link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/tr/c/string/isalpha" />
18<link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/c/string/isalpha" />
19<link rel="canonical" href="isalpha" />
20<link rel="stylesheet" media="screen" type="text/css" href="../../../lib/exe/css.php@t=custom1&amp;tseed=1289693594" />
21<link rel="stylesheet" media="all" type="text/css" href="../../../lib/exe/css.php@s=all&amp;t=custom1&amp;tseed=1289693594" />
22<link rel="stylesheet" media="print" type="text/css" href="../../../lib/exe/css.php@s=print&amp;t=custom1&amp;tseed=1289693594" />
23<script type="text/javascript" ><!--//--><![CDATA[//><!--
24var NS='tr:c:string';var JSINFO = {"id":"tr:c:string:isalpha","namespace":"tr:c:string"};
25//--><!]]></script>
26<script type="text/javascript" charset="utf-8" src="../../../lib/exe/js.php@tseed=1289693594" ></script>
27</head>
28<body>
29<div class="dokuwiki export">
30
31<h2 class="sectionedit1"><a name="isalpha" id="isalpha">isalpha</a></h2>
32<div class="level2">
33
34<p>
35Syntax:
36</p>
37<pre class="cpp code cpp">    <span class="co2">#include &lt;cctype&gt;</span>
38    <span class="kw4">int</span> <span class="kw3">isalpha</span><span class="br0">&#40;</span> <span class="kw4">int</span> ch <span class="br0">&#41;</span><span class="sy4">;</span></pre>
39<p>
40
41<strong>isalpha</strong> fonksiyonu, eğer <strong>ch</strong> ile girilen değişken alfabe karakteri (A-Z veya a-z)
42ise sıfırdan farklı bir değer döndürür. Aksi takdirde sıfır değeri döner.
43</p>
44<pre class="cpp code cpp">     <span class="kw4">char</span> c<span class="sy4">;</span>
45     <span class="kw3">scanf</span><span class="br0">&#40;</span> <span class="st0">&quot;%c&quot;</span>, <span class="sy3">&amp;</span>c <span class="br0">&#41;</span><span class="sy4">;</span>
46     <span class="kw1">if</span><span class="br0">&#40;</span> <span class="kw3">isalpha</span><span class="br0">&#40;</span>c<span class="br0">&#41;</span> <span class="br0">&#41;</span>
47       <span class="kw3">printf</span><span class="br0">&#40;</span> <span class="st0">&quot;Alfabe karakteri girdiniz<span class="es1">\n</span>&quot;</span> <span class="br0">&#41;</span><span class="sy4">;</span></pre>
48<p>
49Related Topics: <a href="http://www.cppreference.com/wiki/tr/c/string/isalnum" class="wikilink2" title="tr:c:string:isalnum" rel="nofollow">isalnum</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/iscntrl" class="wikilink2" title="tr:c:string:iscntrl" rel="nofollow">iscntrl</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/isdigit" class="wikilink2" title="tr:c:string:isdigit" rel="nofollow">isdigit</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/isgraph" class="wikilink2" title="tr:c:string:isgraph" rel="nofollow">isgraph</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/isprint" class="wikilink2" title="tr:c:string:isprint" rel="nofollow">isprint</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/ispunct" class="wikilink2" title="tr:c:string:ispunct" rel="nofollow">ispunct</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/isspace" class="wikilink2" title="tr:c:string:isspace" rel="nofollow">isspace</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/isxdigit" class="wikilink2" title="tr:c:string:isxdigit" rel="nofollow">isxdigit</a>
50</p>
51
52</div>
53<!-- EDIT1 SECTION "isalpha" [3-] --></div>
54</body>
55</html>