<?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[Lottozahlen rückwärts]]></title><description><![CDATA[<p>Hallo kann mir jemand sagen wie ich es hinkriegen soll, lottozahlen rückwärst auszugeben. Ich meine ich will mir sechserreihen ausgeben lassen. zbsp. vorwärts:<br />
1,2,3,4,5,6<br />
1,2,3,4,5,7<br />
1,2,3,4,5,8<br />
...<br />
44,45,46,47,48,49</p>
<p>usw. alle Kombinationen. Ich habe diese schleife schon hingekriegt jedoch schaffe ich es nicht dies ganze rückwärstlaufen zu lassen:</p>
<p>44,45,46,47,48,49<br />
...<br />
1,2,3,4,5,6,7</p>
<p>kann mir jemand vieleicht bei der schleife helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135956/lottozahlen-rückwärts</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 05:26:38 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135956.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2006 13:16:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lottozahlen rückwärts on Mon, 06 Feb 2006 13:16:58 GMT]]></title><description><![CDATA[<p>Hallo kann mir jemand sagen wie ich es hinkriegen soll, lottozahlen rückwärst auszugeben. Ich meine ich will mir sechserreihen ausgeben lassen. zbsp. vorwärts:<br />
1,2,3,4,5,6<br />
1,2,3,4,5,7<br />
1,2,3,4,5,8<br />
...<br />
44,45,46,47,48,49</p>
<p>usw. alle Kombinationen. Ich habe diese schleife schon hingekriegt jedoch schaffe ich es nicht dies ganze rückwärstlaufen zu lassen:</p>
<p>44,45,46,47,48,49<br />
...<br />
1,2,3,4,5,6,7</p>
<p>kann mir jemand vieleicht bei der schleife helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987378</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987378</guid><dc:creator><![CDATA[MrLotto]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:16:58 GMT</pubDate></item><item><title><![CDATA[Reply to Lottozahlen rückwärts on Mon, 06 Feb 2006 13:20:04 GMT]]></title><description><![CDATA[<p>Das kommt ganz darauf an, wie deine Schleife aussieht - vermutlich mußt du einfach Anfangs- und Endbedingung der for()-Schleife(n) gegeneinander austauschen.</p>
<p>(wenn du es umständlich haben willst, kannst du auch alle Lotto-Reihen in einen vector speichern und dann von rbegin() bis rend() auslesen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987384</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987384</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:20:04 GMT</pubDate></item><item><title><![CDATA[Reply to Lottozahlen rückwärts on Mon, 06 Feb 2006 13:31:34 GMT]]></title><description><![CDATA[<p>Hi, ich will das eben in einen vektor nicht speichern da mir das einfach zu viel Laufzeit in anspruch nimmt.<br />
Vieleicht hilft euch das weiter wenn ich die schleife zeige die vorwärts zählt:</p>
<pre><code class="language-cpp">a=0;
b=1;
c=2;
d=3;
e=4;
f=5;

while(Zahl[a] != Zahl[43])
{
   if(Zahl[f] &lt; Zahl[48])
      f=f+1;
   else
   {
      if(Zahl[e] &lt; Zahl[47])
      {
         e=e+1;
         f=e+1;
      }
      else
      {
         if(Zahl[d] &lt; Zahl[46])
         {
            d=d+1;
            e=d+1;
            f=e+1;
         }
         else
         {
             if(Zahl[c] &lt; Zahl[45])
             {
                c=c+1;
                d=c+1;
                e=d+1;
                f=e+1;
             }
             else
             {
                 if(Zahl[b] &lt; Zahl[44])
                 {
                    b=b+1;
                    c=b+1;
                    d=c+1;
                    e=d+1;
                    f=e+1;
                  }
                  else
                  {
                     a=a+1;
                     b=a+1;
                     c=b+1;
                     d=c+1;
                     e=d+1;
                     f=e+1;
                   }
               }
            }
         }
      }
</code></pre>
<p>Und dies würde ich gerne rückwärts laufen lasse. ich weiß aber nicht wie man diese schleife umkehren soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987404</guid><dc:creator><![CDATA[MrLotto]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:31:34 GMT</pubDate></item><item><title><![CDATA[Reply to Lottozahlen rückwärts on Mon, 06 Feb 2006 13:54:45 GMT]]></title><description><![CDATA[<p>Was steht denn überhaupt in Zahl[]?</p>
<p>Was mir jetzt so spontan einfallen würde, wäre jeweils statt a,b,c,d,e,f 50-f,50-e,50-d,50-c,50-b,50-a auszugeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/987438</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/987438</guid><dc:creator><![CDATA[CStoll (off)]]></dc:creator><pubDate>Mon, 06 Feb 2006 13:54:45 GMT</pubDate></item></channel></rss>