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

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

https://github.com/tsgates/cclookup
#! | 62 lines | 57 code | 5 blank | 0 comment | 0 complexity | 67d47f46cadf77713739b248e402bb1c 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:strcat</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,strcat" />
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/strcat?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/strcat" />
18<link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/c/string/strcat" />
19<link rel="canonical" href="strcat" />
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:strcat","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="strcat" id="strcat">strcat</a></h2>
32<div class="level2">
33
34<p>
35Söz dizimi:
36</p>
37<pre class="cpp code cpp">    <span class="co2">#include &lt;cstring&gt;</span>
38    <span class="kw4">char</span> <span class="sy2">*</span><span class="kw3">strcat</span><span class="br0">&#40;</span> <span class="kw4">char</span> <span class="sy2">*</span>dizge1, <span class="kw4">const</span> <span class="kw4">char</span> <span class="sy2">*</span>dizge2 <span class="br0">&#41;</span><span class="sy4">;</span></pre>
39<p>
40strcat fonksiyonu ikinci parametreyle verilen sabit sözcük katarını birinci parametreyle belirtilen katarın sonuna ekler.
41Örneğin:
42</p>
43<pre class="cpp code cpp">     <span class="kw3">printf</span><span class="br0">&#40;</span> <span class="st0">&quot;Adınızı giriniz:&quot;</span><span class="br0">&#41;</span><span class="sy4">;</span>
44     <span class="kw3">scanf</span><span class="br0">&#40;</span> <span class="st0">&quot;%s&quot;</span>, ad <span class="br0">&#41;</span><span class="sy4">;</span>
45     baslik <span class="sy1">=</span> <span class="kw3">strcat</span><span class="br0">&#40;</span> ad, <span class="st0">&quot; buyuk&quot;</span> <span class="br0">&#41;</span><span class="sy4">;</span>
46     <span class="kw3">printf</span><span class="br0">&#40;</span> <span class="st0">&quot;Merhaba, %s<span class="es1">\n</span>&quot;</span>, baslik <span class="br0">&#41;</span><span class="sy4">;</span></pre>
47<p>
48Not olarak; strcat sınır denetimi yapmaz. Sınır denetimi yapan sürümü için bknz <a href="http://www.cppreference.com/wiki/tr/c/string/strncat" class="wikilink2" title="tr:c:string:strncat" rel="nofollow">strncat</a>.
49</p>
50
51<p>
52Benzer başlıklar: <a href="strchr" class="wikilink1" title="tr:c:string:strchr">strchr</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strcmp" class="wikilink2" title="tr:c:string:strcmp" rel="nofollow">strcmp</a>, <a href="strcpy" class="wikilink1" title="tr:c:string:strcpy">strcpy</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strncat" class="wikilink2" title="tr:c:string:strncat" rel="nofollow">strncat</a>
53</p>
54
55<p>
56Diğer benzer fonksiyonlar functions are <a href="http://www.cppreference.com/wiki/tr/c/string/strlcpy" class="wikilink2" title="tr:c:string:strlcpy" rel="nofollow">strlcpy</a> and <a href="http://www.cppreference.com/wiki/tr/c/string/strlcat" class="wikilink2" title="tr:c:string:strlcat" rel="nofollow">strlcat</a>(standart değildirler).
57</p>
58
59</div>
60</div>
61</body>
62</html>