<?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(;;) - Was ist das???]]></title><description><![CDATA[<p>Wie der Titel schon andeutet möchte ich wissen was die Konstruktion</p>
<pre><code class="language-cpp">for(;;)
{

}
</code></pre>
<p>macht.</p>
<p>Danke und Grüße ans Forum</p>
<p>DipplInsch</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/186754/for-was-ist-das</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 11:54:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/186754.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jul 2007 07:20:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:20:57 GMT]]></title><description><![CDATA[<p>Wie der Titel schon andeutet möchte ich wissen was die Konstruktion</p>
<pre><code class="language-cpp">for(;;)
{

}
</code></pre>
<p>macht.</p>
<p>Danke und Grüße ans Forum</p>
<p>DipplInsch</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323561</guid><dc:creator><![CDATA[DipplInsch]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:20:57 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:21:32 GMT]]></title><description><![CDATA[<p>Eine endlosschleife</p>
<p>BR<br />
Vinzenz</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323562</guid><dc:creator><![CDATA[evilissimo]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:25:56 GMT]]></title><description><![CDATA[<p>Um es auführlicher zu machen: alle Ausdrücke in <code>for(init;bedingung;update)...</code> können weggelassen werden (nur die Semikolons sind notwendig) - in dem Fall wird aus 'init' und 'update' eine no-op und aus 'bedingung' ein true, wodurch die Schleife endlos läuft (solange dort kein break/return etwas dagegen unternimmt).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323569</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:25:56 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:28:41 GMT]]></title><description><![CDATA[<p>glaub korrekterweise muss man sagen, dass &quot;die bedingung nicht unwahr wird&quot;. im gegensatz zu anderen schleifen wertet for bool'sche abbruchbedingungen nur negativ aus.</p>
<p>while(somethingIsTrue) ...</p>
<p>for(; somethingIsNotTrue ; ) ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323573</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:31:29 GMT]]></title><description><![CDATA[<p>thordk schrieb:</p>
<blockquote>
<p>glaub korrekterweise muss man sagen, dass &quot;die bedingung nicht unwahr wird&quot;. im gegensatz zu anderen schleifen wertet for bool'sche abbruchbedingungen nur negativ aus.</p>
</blockquote>
<p>Nein, auch for() läuft dann weiter, wenn die Bedingung wahr ist (genau wie die while()-Schleife).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323576</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323576</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:33:36 GMT]]></title><description><![CDATA[<p>(kT)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323577</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323577</guid><dc:creator><![CDATA[DipplInsch]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:33:36 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:35:08 GMT]]></title><description><![CDATA[<p>im gegensatz zu for funktioniert while aber nicht gänzlich ohne bedingung. while erwartet immer eine bedingung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323580</guid><dc:creator><![CDATA[thordk]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 07:36:59 GMT]]></title><description><![CDATA[<p>Naja... keine Bedingung bedeutet für 'for' implizit 'wahr'. For erwartet auch eine Bedingung nur muss die nicht angegeben werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323584</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Thu, 12 Jul 2007 07:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to for(;;) - Was ist das??? on Thu, 12 Jul 2007 09:04:51 GMT]]></title><description><![CDATA[<p>Vielleicht noch eine Bemerkung zur Lesbarkeit von 'while (true)' versus 'for (; ;)': Stroustrup u.a. sind der Meinung, dass sich 'for (; ; )' als &quot;forever&quot; lesen lässt und daher lesbarer ist. in gewisser Weise ist da sogar etwas dran, man kann das wiederholte Semikolon visuell nämlich gut als die wiederholten &quot;e&quot;s in &quot;ever&quot; interpretieren. Sogar die Positionen im Wort stimmen, wenn die Leerzeichen nach den Semikola für beliebige Buchstaben stehen (&quot;v&quot; und &quot;r&quot; respektive).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1323667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1323667</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Thu, 12 Jul 2007 09:04:51 GMT</pubDate></item></channel></rss>