<?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[Frage zu &amp;quot;do{ Anweisung; } while(XY);]]></title><description><![CDATA[<p>Hallo,</p>
<p>ihr könnt mir bestimmt weiterhelfen. Ich möchte eine &quot;do while&quot; Schleife Ausführen. Dabei soll aber mehr als nur ein Wert überprüft werden...wie geht das ???</p>
<p>Beispiel:</p>
<p>int leben = 100;<br />
int kraft = 100;</p>
<p>do{</p>
<p>Anweisung();</p>
<p>}<br />
while (leben und kraft &gt; 0;);</p>
<p>Es sollen also zwei Werte überprüft werden!</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/134206/frage-zu-quot-do-anweisung-while-xy</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 10:05:24 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/134206.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jan 2006 14:23:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage zu &amp;quot;do{ Anweisung; } while(XY); on Tue, 24 Jan 2006 14:23:39 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ihr könnt mir bestimmt weiterhelfen. Ich möchte eine &quot;do while&quot; Schleife Ausführen. Dabei soll aber mehr als nur ein Wert überprüft werden...wie geht das ???</p>
<p>Beispiel:</p>
<p>int leben = 100;<br />
int kraft = 100;</p>
<p>do{</p>
<p>Anweisung();</p>
<p>}<br />
while (leben und kraft &gt; 0;);</p>
<p>Es sollen also zwei Werte überprüft werden!</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/975007</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/975007</guid><dc:creator><![CDATA[IloveAMD2006]]></dc:creator><pubDate>Tue, 24 Jan 2006 14:23:39 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu &amp;quot;do{ Anweisung; } while(XY); on Tue, 24 Jan 2006 14:25:55 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ist eine normale Bedingung wie in einem if</p>
<pre><code class="language-cpp">while ((leben&gt;0) &amp;&amp; (kraft &gt;0))
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/975010</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/975010</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Tue, 24 Jan 2006 14:25:55 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu &amp;quot;do{ Anweisung; } while(XY); on Tue, 24 Jan 2006 14:28:16 GMT]]></title><description><![CDATA[<p>IloveAMD2006 schrieb:</p>
<blockquote>
<p>Es sollen also zwei Werte überprüft werden!</p>
</blockquote>
<p>Hallo,<br />
dies bewerkstelligst du unter C++ mit Hilfe der logischen Operatoren (&amp;&amp;, ||, !).</p>
<p>In deinem Falle benötigst du das logische UND (&amp;&amp;).</p>
<p>D.h.</p>
<pre><code class="language-cpp">while(leben &gt; 0 &amp;&amp; kraft &gt; 0);
</code></pre>
<p>Gruß Caipi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/975012</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/975012</guid><dc:creator><![CDATA[caipi_off]]></dc:creator><pubDate>Tue, 24 Jan 2006 14:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu &amp;quot;do{ Anweisung; } while(XY); on Tue, 24 Jan 2006 14:33:10 GMT]]></title><description><![CDATA[<p>dat von akari geht doch auch weil ebenso beide klammern 1 sein müssen^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/975019</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/975019</guid><dc:creator><![CDATA[masterfu]]></dc:creator><pubDate>Tue, 24 Jan 2006 14:33:10 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu &amp;quot;do{ Anweisung; } while(XY); on Tue, 24 Jan 2006 14:44:06 GMT]]></title><description><![CDATA[<p>Danke für die Antworten!</p>
<p>(Ich liebe dieses Forum...)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/975029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/975029</guid><dc:creator><![CDATA[IloveAMD2006]]></dc:creator><pubDate>Tue, 24 Jan 2006 14:44:06 GMT</pubDate></item></channel></rss>