<?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[schachtelung zweier schleifen]]></title><description><![CDATA[<p>hallo zusammen,<br />
es ist eine scheinbar einfache aufgabe, wobei ich grad nen brett vorm kopf hab.<br />
durch schachtelung 2er schleifen muss es noch möglich sein folgende ausgabe zu realisieren:</p>
<p>4<br />
3 4<br />
2 3 4<br />
1 2 3 4</p>
<p>hat jemand ne idee?<br />
lg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/217096/schachtelung-zweier-schleifen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 22:10:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/217096.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Jul 2008 22:37:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 22:37:27 GMT]]></title><description><![CDATA[<p>hallo zusammen,<br />
es ist eine scheinbar einfache aufgabe, wobei ich grad nen brett vorm kopf hab.<br />
durch schachtelung 2er schleifen muss es noch möglich sein folgende ausgabe zu realisieren:</p>
<p>4<br />
3 4<br />
2 3 4<br />
1 2 3 4</p>
<p>hat jemand ne idee?<br />
lg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540108</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540108</guid><dc:creator><![CDATA[bugo]]></dc:creator><pubDate>Wed, 02 Jul 2008 22:37:27 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 22:42:20 GMT]]></title><description><![CDATA[<p>schon erledigt topic beendet^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540111</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540111</guid><dc:creator><![CDATA[bugo]]></dc:creator><pubDate>Wed, 02 Jul 2008 22:42:20 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 23:12:38 GMT]]></title><description><![CDATA[<p>Schade, dass du das Problem schon gelöst hast...<br />
Ich hätt dir nämlich zu einer rekursiven Version geraten^^</p>
<pre><code class="language-cpp">void rekAusgabe(int w)
{
    if (!(w == 1))
    {
        rekAusgabe(w-1;
    }
    cout &lt;&lt; w &lt;&lt; &quot; &quot;;
}
</code></pre>
<p>oder so ähnlich^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540121</guid><dc:creator><![CDATA[Quellcode]]></dc:creator><pubDate>Wed, 02 Jul 2008 23:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 23:18:09 GMT]]></title><description><![CDATA[<p>Bin wohl auch zu spät... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Naja, was soll's:</p>
<pre><code class="language-cpp">int Max = 4;
for(int i = 0; i &lt; Max; i++)
{
    for(int a = Max - i; a &lt;= Max ; a++)
    {
        printf(&quot;%i&quot;,a);
    }
    printf(&quot;\n&quot;);
}
</code></pre>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540123</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540123</guid><dc:creator><![CDATA[__yoshi]]></dc:creator><pubDate>Wed, 02 Jul 2008 23:18:09 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 23:22:59 GMT]]></title><description><![CDATA[<p>hat wenigstens die Nachwelt noch etwas davon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540126</guid><dc:creator><![CDATA[Quellcode]]></dc:creator><pubDate>Wed, 02 Jul 2008 23:22:59 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Wed, 02 Jul 2008 23:50:31 GMT]]></title><description><![CDATA[<blockquote>
<pre><code class="language-cpp">if (!(w == 1))
</code></pre>
</blockquote>
<p>WTF?<br />
Ich schreib dann demnächst auch alle meine Schleifen um:</p>
<pre><code class="language-cpp">for (int i = 0; !(i &gt;= 10); i++)
    foo(i);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1540136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540136</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Wed, 02 Jul 2008 23:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Thu, 03 Jul 2008 09:05:20 GMT]]></title><description><![CDATA[<p>hübsch, passt zu C. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540250</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Thu, 03 Jul 2008 09:05:20 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Thu, 03 Jul 2008 14:00:39 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Hach bei so Sachen fällt mir immer wieder die schöne Bool - Klasse ein. :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540463</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 03 Jul 2008 14:00:39 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Thu, 03 Jul 2008 20:49:26 GMT]]></title><description><![CDATA[<p>ja sorry, man hätte auch != nehmen können...<br />
es geth doch aber mehr um den sinn, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540680</guid><dc:creator><![CDATA[Quellcode]]></dc:creator><pubDate>Thu, 03 Jul 2008 20:49:26 GMT</pubDate></item><item><title><![CDATA[Reply to schachtelung zweier schleifen on Thu, 03 Jul 2008 21:41:21 GMT]]></title><description><![CDATA[<p>Quellcode schrieb:</p>
<blockquote>
<p>ja sorry, man hätte auch != nehmen können...<br />
es geth doch aber mehr um den sinn, oder?</p>
</blockquote>
<p>Natürlich ist ! == auch korrekt, aber wozu soll mans so kompliziert machen, wenns dafür extra einen Operator gibt? Dann sieht man auch gleich auf den ersten Blick, was da gemacht wird...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1540691</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1540691</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Thu, 03 Jul 2008 21:41:21 GMT</pubDate></item></channel></rss>