<?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[Programmabbruch]]></title><description><![CDATA[<p>Hallo,<br />
ich habe angefangen c++ zu lernen, und habe folgendes problem:<br />
#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
cout&lt;&lt;&quot;Bitte geben Sie eine Zahl ein\n&quot;;<br />
int a;<br />
cin&gt;&gt;a;<br />
cout&lt;&lt;&quot;Bitte geben Sie noch eine Zahl ein\n&quot;;<br />
int b;<br />
cin&gt;&gt;b;</p>
<p>if(a==b) //ABBRUCH<br />
{<br />
cout&lt;&lt;&quot;Beide Zahlen sind gleich&quot;; //Oder auch hier!?!<br />
}<br />
if(a&lt;b)<br />
{<br />
cout&lt;&lt;a&lt;&lt;&quot; ist kleiner als &quot;&lt;&lt;b;<br />
}<br />
if(a&gt;b)<br />
{<br />
cout&lt;&lt;a&lt;&lt;&quot; ist größer als &quot;&lt;&lt;b;<br />
}<br />
cout&lt;&lt;&quot;\n&quot;;<br />
}</p>
<p>Dies ist ein Programm aus einem Turorial, korreckt compiliert ist es, aber es bricht ab. ich kann mir leider keinen reim darauf machen warum, ich hoffe ihr könnt mir helfen. Bei anderen Programmen ist das ebenfalls so dass, sobald eine Ausgabe ststtfindet die nicht nur aus cout&lt;&lt;&quot;blabla...&quot;; besteht das Programm einfach abbricht.<br />
Schon mal vielen Dank im vorraus.<br />
farmer46</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/233640/programmabbruch</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 19:29:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/233640.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Feb 2009 21:01:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programmabbruch on Fri, 06 Feb 2009 21:01:36 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe angefangen c++ zu lernen, und habe folgendes problem:<br />
#include &lt;iostream&gt;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
cout&lt;&lt;&quot;Bitte geben Sie eine Zahl ein\n&quot;;<br />
int a;<br />
cin&gt;&gt;a;<br />
cout&lt;&lt;&quot;Bitte geben Sie noch eine Zahl ein\n&quot;;<br />
int b;<br />
cin&gt;&gt;b;</p>
<p>if(a==b) //ABBRUCH<br />
{<br />
cout&lt;&lt;&quot;Beide Zahlen sind gleich&quot;; //Oder auch hier!?!<br />
}<br />
if(a&lt;b)<br />
{<br />
cout&lt;&lt;a&lt;&lt;&quot; ist kleiner als &quot;&lt;&lt;b;<br />
}<br />
if(a&gt;b)<br />
{<br />
cout&lt;&lt;a&lt;&lt;&quot; ist größer als &quot;&lt;&lt;b;<br />
}<br />
cout&lt;&lt;&quot;\n&quot;;<br />
}</p>
<p>Dies ist ein Programm aus einem Turorial, korreckt compiliert ist es, aber es bricht ab. ich kann mir leider keinen reim darauf machen warum, ich hoffe ihr könnt mir helfen. Bei anderen Programmen ist das ebenfalls so dass, sobald eine Ausgabe ststtfindet die nicht nur aus cout&lt;&lt;&quot;blabla...&quot;; besteht das Programm einfach abbricht.<br />
Schon mal vielen Dank im vorraus.<br />
farmer46</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1659308</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1659308</guid><dc:creator><![CDATA[farmer46]]></dc:creator><pubDate>Fri, 06 Feb 2009 21:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to Programmabbruch on Fri, 06 Feb 2009 21:13:45 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-151578.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-151578.html</a></p>
<p>Nummer 2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1659315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1659315</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Fri, 06 Feb 2009 21:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Programmabbruch on Fri, 06 Feb 2009 21:54:58 GMT]]></title><description><![CDATA[<p>oder 2x</p>
<pre><code class="language-cpp">cin.get();
</code></pre>
<p>drunter dann wartet es auf n enter, ist denke mal einfacher.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1659334</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1659334</guid><dc:creator><![CDATA[Xebov]]></dc:creator><pubDate>Fri, 06 Feb 2009 21:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to Programmabbruch on Fri, 06 Feb 2009 22:00:50 GMT]]></title><description><![CDATA[<p>Ah, danke, das hatte ich übersehen, klappt jetzt.<br />
farmer46</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1659339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1659339</guid><dc:creator><![CDATA[farmer46]]></dc:creator><pubDate>Fri, 06 Feb 2009 22:00:50 GMT</pubDate></item></channel></rss>