<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[for-Struktur]]></title><description><![CDATA[<p>Hallo ihr Progger!<br />
Ich habe jetzt in diversen Codebeispielen hier im Forum immer wieder diese for-Struktur endeckt. Sie scheint also sehr wichtig zu sein. Leider habe ich noch nicht ganz den Zweck verstanden und wann sie genutzt wird. Könntet ihr mir das nochmal mir euren Worten erklären? Bücher sind halt nicht immer das Beste.</p>
<p>MfG TheExecut0r</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/143861/for-struktur</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 11:30:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/143861.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Apr 2006 12:58:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 12:58:34 GMT]]></title><description><![CDATA[<p>Hallo ihr Progger!<br />
Ich habe jetzt in diversen Codebeispielen hier im Forum immer wieder diese for-Struktur endeckt. Sie scheint also sehr wichtig zu sein. Leider habe ich noch nicht ganz den Zweck verstanden und wann sie genutzt wird. Könntet ihr mir das nochmal mir euren Worten erklären? Bücher sind halt nicht immer das Beste.</p>
<p>MfG TheExecut0r</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1035932</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035932</guid><dc:creator><![CDATA[TheExecut0r]]></dc:creator><pubDate>Wed, 12 Apr 2006 12:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 13:01:49 GMT]]></title><description><![CDATA[<p>Das nennt sich for()-<strong>Schleife</strong> und ist eine Art Zählschleife:</p>
<pre><code class="language-cpp">for(init;check;update)
  do_something();
</code></pre>
<p>Das führt als erstes &quot;init&quot; aus und wiederholt anschließend so lange &quot;do_something()&quot; und &quot;update&quot;, bis die Bedingung &quot;check&quot; false wird.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1035938</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035938</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 12 Apr 2006 13:01:49 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 13:05:15 GMT]]></title><description><![CDATA[<p>Kann man das also mit while vergleichen? Solange irgendwas ist soll irgendwas gemacht werden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1035941</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035941</guid><dc:creator><![CDATA[TheExecut0r]]></dc:creator><pubDate>Wed, 12 Apr 2006 13:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 13:08:33 GMT]]></title><description><![CDATA[<p>for und while schleifen sind beliebig austauschbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1035949</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035949</guid><dc:creator><![CDATA[THX 1138]]></dc:creator><pubDate>Wed, 12 Apr 2006 13:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 13:09:17 GMT]]></title><description><![CDATA[<p>Die entsprechende while-Schleife sieht so aus:</p>
<pre><code class="language-cpp">init;
while(check)
{
    do_something();
    update;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1035950</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035950</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Wed, 12 Apr 2006 13:09:17 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 13:09:31 GMT]]></title><description><![CDATA[<p>Danke! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1035952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1035952</guid><dc:creator><![CDATA[TheExecut0r]]></dc:creator><pubDate>Wed, 12 Apr 2006 13:09:31 GMT</pubDate></item><item><title><![CDATA[Reply to for-Struktur on Wed, 12 Apr 2006 14:50:38 GMT]]></title><description><![CDATA[<p>Michael E. schrieb:</p>
<blockquote>
<p>Die entsprechende while-Schleife sieht so aus:</p>
<pre><code class="language-cpp">init;
while(check)
{
    do_something();
    update;
}
</code></pre>
</blockquote>
<p>nicht ganz 100 prozentig.<br />
der gültigkeitsbereich von &quot;init&quot; ist eingeschränkt:</p>
<pre><code class="language-cpp">{
    init;
    while(check)
    {
        do_something();
        update;
    }
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1036076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1036076</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Wed, 12 Apr 2006 14:50:38 GMT</pubDate></item></channel></rss>