PageRenderTime 41ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/www.cppreference.com/wiki/tr/keywords/while

https://github.com/tsgates/cclookup
#! | 76 lines | 67 code | 9 blank | 0 comment | 0 complexity | 4b9a25d76266ce4e720e0ef8c8c54278 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:keywords:while</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,keywords,while" />
  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/keywords/while?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:keywords" />
  17. <link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/tr/keywords/while" />
  18. <link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/tr/keywords/while" />
  19. <link rel="canonical" href="while" />
  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[//><!--
  24. var NS='tr:keywords';var JSINFO = {"id":"tr:keywords:while","namespace":"tr:keywords"};
  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. <p>
  31. While dögüsü yaklaşık olarak tekrar anlamına gelir.Şimdi bunu örnekler üzerinde inceliyelim.
  32. </p>
  33. <pre class="code">#include &lt;iostream&gt;
  34. using namespace std;
  35. int main(){
  36. int x, y;
  37. cout &lt;&lt; &quot; X&#039;e deger verin = &quot;;
  38. cin &gt;&gt; x;
  39. cout &lt;&lt; &quot; Y&#039;e deger verin = &quot;;
  40. cin &gt;&gt; y;
  41. while (x == y){
  42. cout &lt;&lt; &quot; While&#039;ın içineyim &quot;;
  43. }
  44. cout &lt;&lt; &quot; While&#039;dan ciktim &quot;;
  45. system(&quot;PAUSE&quot;);
  46. return EXIT_SUCCESS;
  47. }</pre>
  48. <p>
  49. Eğer bu kodu yazarsak ve X&#039;e Y&#039;den daha büyük bir değer verirsek böyle olur ;
  50. </p>
  51. <pre class="code">While&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyimWhile&#039;ın icindeyim</pre>
  52. <p>
  53. Böyle saçma bir ekran yani ardarda gelirdi :)
  54. </p>
  55. <p>
  56. Eğer küçük olsaydı
  57. </p>
  58. <pre class="code"> While&#039;dan ciktim</pre>
  59. <p>
  60. Bundan yola çıkarak birşeyler yapabilirsiniz :)
  61. </p>
  62. <pre class="code"> while(Bir işlem){
  63. İşlem doğruysa tekrarlanıcaklar ...
  64. }</pre>
  65. </div>
  66. </body>
  67. </html>