/www.cppreference.com/wiki/tr/c/string/strcpy
#! | 58 lines | 52 code | 6 blank | 0 comment | 0 complexity | acc0bca7f3c08aef302e4cdacfa2f2a9 MD5 | raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="tr"
- lang="tr" dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>tr:c:string:strcpy</title>
- <meta name="generator" content="DokuWiki" />
- <meta name="robots" content="index,follow" />
- <meta name="date" content="2010-10-28T18:17:27-0700" />
- <meta name="keywords" content="tr,c,string,strcpy" />
- <link rel="search" type="application/opensearchdescription+xml" href="http://www.cppreference.com/wiki/lib/exe/opensearch.php" title="C++ Reference" />
- <link rel="start" href="../../../../index.html" />
- <link rel="contents" href="http://www.cppreference.com/wiki/tr/c/string/strcpy?do=index" title="İndeks" />
- <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.cppreference.com/wiki/feed.php" />
- <link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.cppreference.com/wiki/feed.php?mode=list&ns=tr:c:string" />
- <link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/tr/c/string/strcpy" />
- <link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/c/string/strcpy" />
- <link rel="canonical" href="strcpy" />
- <link rel="stylesheet" media="screen" type="text/css" href="../../../lib/exe/css.php@t=custom1&tseed=1289693594" />
- <link rel="stylesheet" media="all" type="text/css" href="../../../lib/exe/css.php@s=all&t=custom1&tseed=1289693594" />
- <link rel="stylesheet" media="print" type="text/css" href="../../../lib/exe/css.php@s=print&t=custom1&tseed=1289693594" />
- <script type="text/javascript" ><!--//--><![CDATA[//><!--
- var NS='tr:c:string';var JSINFO = {"id":"tr:c:string:strcpy","namespace":"tr:c:string"};
- //--><!]]></script>
- <script type="text/javascript" charset="utf-8" src="../../../lib/exe/js.php@tseed=1289693594" ></script>
- </head>
- <body>
- <div class="dokuwiki export">
- <h2 class="sectionedit1"><a name="strcpy" id="strcpy">strcpy</a></h2>
- <div class="level2">
- <p>
- Söz dizimi:
- </p>
- <pre class="cpp code cpp"> <span class="co2">#include <cstring></span>
- <span class="kw4">char</span> <span class="sy2">*</span><span class="kw3">strcpy</span><span class="br0">(</span><span class="kw4">char</span> <span class="sy2">*</span>hedef, <span class="kw4">const</span> <span class="kw4">char</span> <span class="sy2">*</span>kaynak<span class="br0">)</span><span class="sy4">;</span></pre>
- <p>
- strcpy() fonksiyonu ikinci parametresiyle aldigi değeri null sonlandırıcı işaret de dahil olmak üzere birinci parametresine kopyalar. Fonksiyonun dönüş değeri birinci parametresidir (hedef).
- </p>
- <p>
- Sınır kontrolü yapmadığından güvenli değildir. Benzer işi yapan daha güvenli sürümü için bknz <code>strncpy()</code>.
- </p>
- <p>
- Benzer Başlıklar <a href="http://www.cppreference.com/wiki/tr/c/string/memcpy" class="wikilink2" title="tr:c:string:memcpy" rel="nofollow">memcpy</a>, <a href="strcat" class="wikilink1" title="tr:c:string:strcat">strcat</a>, <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="http://www.cppreference.com/wiki/tr/c/string/strncmp" class="wikilink2" title="tr:c:string:strncmp" rel="nofollow">strncmp</a>, <a href="http://www.cppreference.com/wiki/tr/c/string/strncpy" class="wikilink2" title="tr:c:string:strncpy" rel="nofollow">strncpy</a>
- </p>
- <p>
- Diğer benzer fonksiyonlar<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ğiller).
- </p>
- </div>
- </div>
- </body>
- </html>