<?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[Merkwürdige ausgabe der Variablen]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Könn ihr euch mal die Variable b anschauen nach abarbeitung der while schleife. Eigentlich soltle sie mir nur ausgeben wie oft die while schleife durchlaufen wurde aber irgnedwie komtm da nur Müll raus. Könnt ihr mir helfen? Viele vielen Dank!!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;conio.h&gt;
#include&lt;iomanip&gt; 
using namespace std;

int main()
{

   int b=0,i,j,c,temp,e=0;   
   int a[100];
   bool z=false;

   cout&lt;&lt;&quot;Eingebe der unsortierten Folge:&quot;; 
   cout&lt;&lt;endl;
   e=0;
   do{ 
   cout&lt;&lt;&quot;b=&quot;&lt;&lt;b&lt;&lt;endl;   
   cin&gt;&gt;a[e];  
   e++;
   b++;

}while(a[e]!=z) ;  
cout&lt;&lt;b;
    getch();    
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/178182/merkwürdige-ausgabe-der-variablen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 17:11:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/178182.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 08 Apr 2007 18:15:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Merkwürdige ausgabe der Variablen on Sun, 08 Apr 2007 18:15:31 GMT]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Könn ihr euch mal die Variable b anschauen nach abarbeitung der while schleife. Eigentlich soltle sie mir nur ausgeben wie oft die while schleife durchlaufen wurde aber irgnedwie komtm da nur Müll raus. Könnt ihr mir helfen? Viele vielen Dank!!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;conio.h&gt;
#include&lt;iomanip&gt; 
using namespace std;

int main()
{

   int b=0,i,j,c,temp,e=0;   
   int a[100];
   bool z=false;

   cout&lt;&lt;&quot;Eingebe der unsortierten Folge:&quot;; 
   cout&lt;&lt;endl;
   e=0;
   do{ 
   cout&lt;&lt;&quot;b=&quot;&lt;&lt;b&lt;&lt;endl;   
   cin&gt;&gt;a[e];  
   e++;
   b++;

}while(a[e]!=z) ;  
cout&lt;&lt;b;
    getch();    
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1261826</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1261826</guid><dc:creator><![CDATA[taikahn]]></dc:creator><pubDate>Sun, 08 Apr 2007 18:15:31 GMT</pubDate></item><item><title><![CDATA[Reply to Merkwürdige ausgabe der Variablen on Sun, 08 Apr 2007 19:04:10 GMT]]></title><description><![CDATA[<p>taikahn schrieb:</p>
<blockquote>
<p>aber irgnedwie komtm da nur Müll raus.</p>
</blockquote>
<p>Was für Müll?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1261871</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1261871</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Sun, 08 Apr 2007 19:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to Merkwürdige ausgabe der Variablen on Sun, 08 Apr 2007 19:11:09 GMT]]></title><description><![CDATA[<p>ich hätte mal ein paar fragen...</p>
<ol>
<li>warum setzt du e zweimal auf 0, reicht doch schon einmal...</li>
<li>wie unterscheiden sich b und e?</li>
<li>&quot;a[e]!=z&quot; ist ziemlich finster, was wolltest du denn damit bewirken?</li>
<li>wozu sind i, j und temp da ?</li>
<li>wo hast du es gelernt, den variablen so komische namen zu geben? <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="😃"
    /></li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/post/1261883</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1261883</guid><dc:creator><![CDATA[Andrey]]></dc:creator><pubDate>Sun, 08 Apr 2007 19:11:09 GMT</pubDate></item><item><title><![CDATA[Reply to Merkwürdige ausgabe der Variablen on Sun, 08 Apr 2007 19:18:04 GMT]]></title><description><![CDATA[<p>Habs schon lebst hinbekommen.Aber trodzem danke für eure Hilfe:-).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1261889</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1261889</guid><dc:creator><![CDATA[taikahn18]]></dc:creator><pubDate>Sun, 08 Apr 2007 19:18:04 GMT</pubDate></item></channel></rss>