<?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[Wieder was die Welt nicht braucht :)]]></title><description><![CDATA[<p>Bin noch neu und auch noch nicht besonders gut in c++. Hab folgendes geschrieben und hab ein paar fragen...</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;time.h&gt;
#include &lt;conio.h&gt;
using namespace std;

void addition();
void subtraktion();
void division();
void multiplikation();
void klammer();

int main()
{
	char Auswahl;
	do
	{

	cout &lt;&lt; &quot;\t\tRechenuebungen\n&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;\t(A)ddition&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(S)ubtraktion&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(D)ivision&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(M)ultiplikation&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(K)lammerrechnung&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(B)eenden&quot;&lt;&lt; endl;
	cin &gt;&gt; Auswahl;

	switch (Auswahl)
	{
	case'a':
	case'A':
		addition();
		break;
		case's':
	case'S':
		subtraktion();
		break;
		case'D':
	case'd':
		division();
		break;
		case'M':
	case'm':
		multiplikation();
		break;
	case'k':
	case'K':
		klammer();
		break;
	case 'b':
		 case 'B':
			 cout &lt;&lt; &quot;Beendet&quot; &lt;&lt; endl;
			 break;
	default:
		cout &lt;&lt; &quot;Falsche Eingabe&quot; &lt;&lt; endl;

	}

	getch();
	system (&quot;cls&quot;);

	}while (Auswahl !='b' &amp;&amp; Auswahl !='B');

		 return 0;
} 

void klammer()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %50+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;(&quot;&lt;&lt;Zahl1&lt;&lt;&quot;*&quot;&lt;&lt;Zahl2&lt;&lt;&quot;-&quot;&lt;&lt;Zahl3&lt;&lt;&quot;)+(&quot;&lt;&lt;Zahl4&lt;&lt;&quot;-&quot;&lt;&lt;Zahl5&lt;&lt;&quot;)=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1*Zahl2-Zahl3)+(Zahl4-Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
  }
void multiplikation()
{
int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %10+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;*&quot;&lt;&lt;Zahl2&lt;&lt;&quot;*&quot;&lt;&lt;Zahl3&lt;&lt;&quot;*&quot;&lt;&lt;Zahl4&lt;&lt;&quot;*&quot;&lt;&lt;Zahl5&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1*Zahl2*Zahl3*Zahl4*Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void division()
{
int Zahl1,Zahl2;
	float Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %100+1;	
	Zahl2=(rand()) %20+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;/&quot;&lt;&lt;Zahl2&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1/Zahl2) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void addition()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));

	Zahl1=(rand()) %20+1;
	Zahl2=(rand()) %10+1;
	Zahl3=(rand()) %20+1;
	Zahl4=(rand()) %50+1;
	Zahl5=(rand()) %80+1;

	cout &lt;&lt; &quot;(&quot;&lt;&lt;Zahl1&lt;&lt;&quot;+&quot;&lt;&lt;Zahl2&lt;&lt;&quot;+&quot;&lt;&lt;Zahl3&lt;&lt;&quot;)+(&quot;&lt;&lt;Zahl4&lt;&lt;&quot;+&quot;&lt;&lt;Zahl5&lt;&lt;&quot;)=&quot;;
		cin &gt;&gt;Ergebnis;
		if ((Zahl1+Zahl2+Zahl3+Zahl4+Zahl5) == Ergebnis)
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void subtraktion()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %100+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;-&quot;&lt;&lt;Zahl2&lt;&lt;&quot;-&quot;&lt;&lt;Zahl3&lt;&lt;&quot;-&quot;&lt;&lt;Zahl4&lt;&lt;&quot;-&quot;&lt;&lt;Zahl5&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1-Zahl2-Zahl3-Zahl4-Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
</code></pre>
<p>1-Warum komm ich in eine endlos schleife wenn ich statt einer Zahl ein buchstabe eingebe als Ergebnis und wie kann ich das beheben.<br />
2.- Muss ich die Zufallszahlen immer wieder neu erstellen oder könnte man die mit einer Funktion erstellen und einbinden<br />
3.- Kann man den Operator bei den Klammerrechnungen auch per zufall erstellen lassen?</p>
<p>Danke schonmal an die Leute die sich die mühe machen mir zu antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/302729/wieder-was-die-welt-nicht-braucht</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 03:12:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/302729.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Apr 2012 16:38:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 16:38:01 GMT]]></title><description><![CDATA[<p>Bin noch neu und auch noch nicht besonders gut in c++. Hab folgendes geschrieben und hab ein paar fragen...</p>
<pre><code>#include &lt;iostream&gt;
#include &lt;time.h&gt;
#include &lt;conio.h&gt;
using namespace std;

void addition();
void subtraktion();
void division();
void multiplikation();
void klammer();

int main()
{
	char Auswahl;
	do
	{

	cout &lt;&lt; &quot;\t\tRechenuebungen\n&quot; &lt;&lt; endl;
	cout &lt;&lt; &quot;\t(A)ddition&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(S)ubtraktion&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(D)ivision&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(M)ultiplikation&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(K)lammerrechnung&quot;&lt;&lt; endl;
	cout &lt;&lt; &quot;\t(B)eenden&quot;&lt;&lt; endl;
	cin &gt;&gt; Auswahl;

	switch (Auswahl)
	{
	case'a':
	case'A':
		addition();
		break;
		case's':
	case'S':
		subtraktion();
		break;
		case'D':
	case'd':
		division();
		break;
		case'M':
	case'm':
		multiplikation();
		break;
	case'k':
	case'K':
		klammer();
		break;
	case 'b':
		 case 'B':
			 cout &lt;&lt; &quot;Beendet&quot; &lt;&lt; endl;
			 break;
	default:
		cout &lt;&lt; &quot;Falsche Eingabe&quot; &lt;&lt; endl;

	}

	getch();
	system (&quot;cls&quot;);

	}while (Auswahl !='b' &amp;&amp; Auswahl !='B');

		 return 0;
} 

void klammer()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %50+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;(&quot;&lt;&lt;Zahl1&lt;&lt;&quot;*&quot;&lt;&lt;Zahl2&lt;&lt;&quot;-&quot;&lt;&lt;Zahl3&lt;&lt;&quot;)+(&quot;&lt;&lt;Zahl4&lt;&lt;&quot;-&quot;&lt;&lt;Zahl5&lt;&lt;&quot;)=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1*Zahl2-Zahl3)+(Zahl4-Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
  }
void multiplikation()
{
int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %10+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;*&quot;&lt;&lt;Zahl2&lt;&lt;&quot;*&quot;&lt;&lt;Zahl3&lt;&lt;&quot;*&quot;&lt;&lt;Zahl4&lt;&lt;&quot;*&quot;&lt;&lt;Zahl5&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1*Zahl2*Zahl3*Zahl4*Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void division()
{
int Zahl1,Zahl2;
	float Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %100+1;	
	Zahl2=(rand()) %20+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;/&quot;&lt;&lt;Zahl2&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1/Zahl2) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void addition()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));

	Zahl1=(rand()) %20+1;
	Zahl2=(rand()) %10+1;
	Zahl3=(rand()) %20+1;
	Zahl4=(rand()) %50+1;
	Zahl5=(rand()) %80+1;

	cout &lt;&lt; &quot;(&quot;&lt;&lt;Zahl1&lt;&lt;&quot;+&quot;&lt;&lt;Zahl2&lt;&lt;&quot;+&quot;&lt;&lt;Zahl3&lt;&lt;&quot;)+(&quot;&lt;&lt;Zahl4&lt;&lt;&quot;+&quot;&lt;&lt;Zahl5&lt;&lt;&quot;)=&quot;;
		cin &gt;&gt;Ergebnis;
		if ((Zahl1+Zahl2+Zahl3+Zahl4+Zahl5) == Ergebnis)
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
void subtraktion()
{
	int Zahl1,Zahl2, Zahl3, Zahl4, Zahl5;
	int Ergebnis;

  for (int i=0;i&lt;10;i++)
	{
 srand(time(NULL));			// Zufallszahl

	Zahl1=(rand()) %100+1;	
	Zahl2=(rand()) %20+1;
	Zahl3=(rand()) %30+1;
	Zahl4=(rand()) %10+1;
	Zahl5=(rand()) %10+1;

	cout &lt;&lt; &quot;&quot;&lt;&lt;Zahl1&lt;&lt;&quot;-&quot;&lt;&lt;Zahl2&lt;&lt;&quot;-&quot;&lt;&lt;Zahl3&lt;&lt;&quot;-&quot;&lt;&lt;Zahl4&lt;&lt;&quot;-&quot;&lt;&lt;Zahl5&lt;&lt;&quot;=&quot;; // Rechnungsausgabe
		cin &gt;&gt;Ergebnis;
		if ((Zahl1-Zahl2-Zahl3-Zahl4-Zahl5) == Ergebnis)		//Rechnung
			cout &lt;&lt; &quot;Richtig&quot;&lt;&lt;endl;
		else
			cout &lt;&lt; &quot;Falsch&quot;&lt;&lt;endl;
  }
}
</code></pre>
<p>1-Warum komm ich in eine endlos schleife wenn ich statt einer Zahl ein buchstabe eingebe als Ergebnis und wie kann ich das beheben.<br />
2.- Muss ich die Zufallszahlen immer wieder neu erstellen oder könnte man die mit einer Funktion erstellen und einbinden<br />
3.- Kann man den Operator bei den Klammerrechnungen auch per zufall erstellen lassen?</p>
<p>Danke schonmal an die Leute die sich die mühe machen mir zu antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205599</guid><dc:creator><![CDATA[Tomy0078]]></dc:creator><pubDate>Wed, 25 Apr 2012 16:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 16:49:58 GMT]]></title><description><![CDATA[<p>1. Weil operator &gt;&gt; die Zeichen nicht aus dem Eingabestrom nimmt, wenn du etwas eingibst was nicht zum Typ passt.</p>
<pre><code class="language-cpp">if (!cin.good())
{
  cin.clear();
  cin.ignore(numeric_limits&lt;streamsize&gt;::max(), '\n'); // ignoriert eine Zeile
}
</code></pre>
<p>2. Ich verstehe offen gesagt nicht ganz was du vor hast, aber das geht bestimmt. Erklär das mal genauer.</p>
<p>3. Nein, du kannst keinen Code zur Laufzeit generieren. Du kannst aber natürlich den Operator auf Basis einer Zufallszahl auswählen.</p>
<p>4. Du solltest [ cpp ] statt [ code ] Tags nutzen, dann wird dein Code schön bunt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205602</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205602</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Wed, 25 Apr 2012 16:49:58 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 17:17:39 GMT]]></title><description><![CDATA[<p>&lt;title&gt;C/C++ Forum :: Wieder was die Welt nicht braucht :)&lt;/title&gt;<br />
z.B. einen thread mit einem Titel, der nix mit der Sache zu tun hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205608</guid><dc:creator><![CDATA[zBsowas]]></dc:creator><pubDate>Wed, 25 Apr 2012 17:17:39 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 17:42:50 GMT]]></title><description><![CDATA[<p>Hey</p>
<p>Mir war mal wieder langweilig.<br />
Schon schlimm.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;ctime&gt;
#include &lt;cstdlib&gt;

enum Operator
{
    plus,
    minus,
    mal,
    geteilt
};

void gebe_aufgabe_aus(int zahl1, int zahl2, Operator operat)
{
    char op = ' ';
    switch(operat)
    {
        case plus: op = '+'; break;
        case minus: op = '-'; break;
        case mal: op = '*'; break;
        case geteilt: op = '/'; break;
    }
    std::cout &lt;&lt; zahl1 &lt;&lt; op &lt;&lt; zahl2 &lt;&lt; &quot; = &quot;;
}

int errechne_ergebnis(int zahl1, int zahl2, Operator op)
{
    switch(op)
    {
        case plus: return zahl1+zahl2; break;
        case minus: return zahl1-zahl2; break;
        case mal: return zahl1*zahl2; break;
        case geteilt: return zahl1/zahl2; break;
    }
    return 0;
}

void weise_angeglichene_werte_zu(int&amp; zahl1, int&amp; zahl2, Operator op)
{
    switch(op)
    {
        case plus:
        case minus:
            zahl1 = std::rand() % 300;
            zahl2 = std::rand() % 300;
        break;

        case mal:
            zahl1 = std::rand() % 100;
            zahl2 = std::rand() % 30;
        break;

        case geteilt:
            while(true)
            {
                zahl1 = std::rand() % 800;
                zahl2 = std::rand() % 800; 
                if(zahl1 != 0 &amp;&amp; (zahl1 % zahl2) == 0 &amp;&amp; zahl1 != zahl2)
                    break;
            }
        break;
    }
}

int main()
{
    std::srand(std::time(0));
    int punkte = 0;
    for(int i = 0; i &lt; 10; ++i)
    {
        std::cout &lt;&lt; &quot;\nAufgabe Nr. &quot; &lt;&lt; i+1 &lt;&lt; &quot; von 10.\n\n&quot;;
        Operator op = Operator(std::rand() % 4);
        int zahl1, zahl2;
        weise_angeglichene_werte_zu(zahl1, zahl2, op);
        gebe_aufgabe_aus(zahl1, zahl2, op);
        int richtig = errechne_ergebnis(zahl1, zahl2, op), eingabe;
        while(!(std::cin &gt;&gt; eingabe))
        {
            std::cin.clear();
            std::cin.ignore(1000, '\n');
        }
        if(eingabe == richtig)
        {
            std::cout &lt;&lt; &quot;Richtig!\n&quot;;
            ++punkte;
        }
        else
            std::cout &lt;&lt; &quot;Falsch!\n&quot;;
    }
    std::cout &lt;&lt; &quot;Richtig: &quot; &lt;&lt; punkte &lt;&lt; &quot; von 10.\n&quot;;
    std::cin.ignore(1000, '\n');
    std::cin.get();
}
</code></pre>
<p>Viel Spaß damit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205610</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205610</guid><dc:creator><![CDATA[Incocnito]]></dc:creator><pubDate>Wed, 25 Apr 2012 17:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 18:37:51 GMT]]></title><description><![CDATA[<p>Danke!<br />
Hab wieder was gelernt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205642</guid><dc:creator><![CDATA[Tomy0078]]></dc:creator><pubDate>Wed, 25 Apr 2012 18:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Wed, 25 Apr 2012 23:17:41 GMT]]></title><description><![CDATA[<p>*Hust* x modulo 0 *Hust*</p>
<pre><code class="language-cpp">case geteilt:
            while(true)
            {
                zahl1 = std::rand() % 800;
                zahl2 = std::rand() % 800;
                if(zahl1 != 0 &amp;&amp; (zahl1 % zahl2) == 0 &amp;&amp; zahl1 != zahl2)
                    break;
            }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2205679</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205679</guid><dc:creator><![CDATA[Dudeldu]]></dc:creator><pubDate>Wed, 25 Apr 2012 23:17:41 GMT</pubDate></item><item><title><![CDATA[Reply to Wieder was die Welt nicht braucht :) on Thu, 26 Apr 2012 16:33:27 GMT]]></title><description><![CDATA[<p>Ja, da stand vorher tatsächlich auch ne Überprüfung, ob auch zahl2 0 ist.<br />
Aber da das auf meinem gcc keinen Unterschied macht, dachte ich, man kanns auch weglassen und habs wegeditiert.<br />
Hab aber auch grad gelesen, ist undefiniertes Verhalten.<br />
Wieder was gelernt, denn ich hätte irgendwie eine Teilung durch 0 und damit nen Programmabsturz erwartet, das sieht der GCC aber anscheinend nicht so.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2205868</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2205868</guid><dc:creator><![CDATA[Incocnito]]></dc:creator><pubDate>Thu, 26 Apr 2012 16:33:27 GMT</pubDate></item></channel></rss>