<?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[Finde Fehler in Code nicht!]]></title><description><![CDATA[<p>Hallo!<br />
Könnt ihr mir sagen wieso ich meine &quot;menuesteuerung&quot; nicht funktioniert? sobald er die variable &quot;menue&quot; einlesen soll springt er wieder in den kopf der schleife und gibt &quot;bitte laufzeit in jahren eingeben&quot; aus! verstehe das einfach nicht!</p>
<p>schon mal danke für die hilfe!</p>
<p>grüße</p>
<pre><code>int menue;
	int laufzeit = 1;
	while (true){
		cout &lt;&lt; &quot;Bitte Laufzeit in Jahren eingeben&quot; &lt;&lt; endl;

		cin &gt;&gt; laufzeit;

		if (laufzeit &lt; 0) continue;
		cout &lt;&lt; &quot;Sind diese Eingaben korrekt?&quot; &lt;&lt; endl 
			 &lt;&lt; &quot;Anfangskapital: &quot; &lt;&lt; anfangskapital &lt;&lt; endl 
			 &lt;&lt; &quot;Laufzeit: &quot; &lt;&lt; laufzeit &lt;&lt; endl;

		cout &lt;&lt; &quot;Zum Bestätigen drücken Sie 1&quot; &lt;&lt; endl
			 &lt;&lt; &quot;zum Beenden: 0&quot; &lt;&lt; endl 
			 &lt;&lt; &quot;und zur erneuten Eingabe eine beliebige Taste&quot; 
                         &lt;&lt; endl;

		cin &gt;&gt; menue;

		if (menue == 1) break;
		else if (menue == 0) return 0;
		else continue;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/123329/finde-fehler-in-code-nicht</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 13:10:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/123329.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Oct 2005 13:02:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:02:46 GMT]]></title><description><![CDATA[<p>Hallo!<br />
Könnt ihr mir sagen wieso ich meine &quot;menuesteuerung&quot; nicht funktioniert? sobald er die variable &quot;menue&quot; einlesen soll springt er wieder in den kopf der schleife und gibt &quot;bitte laufzeit in jahren eingeben&quot; aus! verstehe das einfach nicht!</p>
<p>schon mal danke für die hilfe!</p>
<p>grüße</p>
<pre><code>int menue;
	int laufzeit = 1;
	while (true){
		cout &lt;&lt; &quot;Bitte Laufzeit in Jahren eingeben&quot; &lt;&lt; endl;

		cin &gt;&gt; laufzeit;

		if (laufzeit &lt; 0) continue;
		cout &lt;&lt; &quot;Sind diese Eingaben korrekt?&quot; &lt;&lt; endl 
			 &lt;&lt; &quot;Anfangskapital: &quot; &lt;&lt; anfangskapital &lt;&lt; endl 
			 &lt;&lt; &quot;Laufzeit: &quot; &lt;&lt; laufzeit &lt;&lt; endl;

		cout &lt;&lt; &quot;Zum Bestätigen drücken Sie 1&quot; &lt;&lt; endl
			 &lt;&lt; &quot;zum Beenden: 0&quot; &lt;&lt; endl 
			 &lt;&lt; &quot;und zur erneuten Eingabe eine beliebige Taste&quot; 
                         &lt;&lt; endl;

		cin &gt;&gt; menue;

		if (menue == 1) break;
		else if (menue == 0) return 0;
		else continue;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/892812</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892812</guid><dc:creator><![CDATA[Mep]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:02:46 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:24:52 GMT]]></title><description><![CDATA[<p>Mach vor das Einlesen von menu ein cin.ignore('\n');</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892823</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892823</guid><dc:creator><![CDATA[...]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:24:52 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:33:03 GMT]]></title><description><![CDATA[<p>Hi!<br />
das hilft auch nix!<br />
was bewirkt denn: cin.ignore('\n');?</p>
<p>grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892828</guid><dc:creator><![CDATA[Mep]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:35:46 GMT]]></title><description><![CDATA[<p>Steht doch in der Doku.</p>
<p>Bye, TGGC (<a href="http://tggc.tg.funpic.de/index.php?cat=4" rel="nofollow">Demo or Die</a>)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892830</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892830</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:35:46 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:46:58 GMT]]></title><description><![CDATA[<p>TGGC schrieb:</p>
<blockquote>
<p>Steht doch in der Doku.</p>
<p>Bye, TGGC (<a href="http://tggc.tg.funpic.de/index.php?cat=4" rel="nofollow">Demo or Die</a>)</p>
</blockquote>
<p>hast du ne idee zu meinem problem?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892833</guid><dc:creator><![CDATA[Mep]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:46:58 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 13:58:43 GMT]]></title><description><![CDATA[<p>Ja, mir kommt gerade die Idee, das dieses ignore doch wohl in der Doku beschrieben sein muss.</p>
<p>Bye, TGGC (<a href="http://tggc.tg.funpic.de/index.php?cat=4" rel="nofollow">Demo or Die</a>)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892848</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892848</guid><dc:creator><![CDATA[TGGC]]></dc:creator><pubDate>Sat, 15 Oct 2005 13:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 14:04:06 GMT]]></title><description><![CDATA[<p>und was hat das mit meinem problem zu tun?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892855</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892855</guid><dc:creator><![CDATA[Mep]]></dc:creator><pubDate>Sat, 15 Oct 2005 14:04:06 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 15:23:42 GMT]]></title><description><![CDATA[<p>hast du schonma den debugger rangelasen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/892907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/892907</guid><dc:creator><![CDATA[Maxi]]></dc:creator><pubDate>Sat, 15 Oct 2005 15:23:42 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sat, 15 Oct 2005 18:45:15 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">cin.sync();
cin.clear();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/893027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893027</guid><dc:creator><![CDATA[terraner]]></dc:creator><pubDate>Sat, 15 Oct 2005 18:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Finde Fehler in Code nicht! on Sun, 16 Oct 2005 17:44:28 GMT]]></title><description><![CDATA[<p>hab deinen code mal mit meinem vc++6 getestet und bei mir funktioniert er.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/893643</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/893643</guid><dc:creator><![CDATA[Konfusius]]></dc:creator><pubDate>Sun, 16 Oct 2005 17:44:28 GMT</pubDate></item></channel></rss>