<?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[Primärzahl]]></title><description><![CDATA[<p>hallo ich bins wieder</p>
<p>ich habe ein programm geschrieben, welches eine zahl überprüft ob es sich um eine primärzahlen handelt.<br />
jetzt möchte ich eure meinung dazu wissen. weil ich habe es nur geschat, dass er mir die zahlen angibt, welches sich durch die gewählte zahl teilen lassen.</p>
<pre><code># include &lt;iostream.h&gt;
void main ()
{   int n,k;
cin &gt;&gt; n;
for ( k=2;k&lt;=n;k++)
{if (n%k==0)
cout &lt;&lt; k&lt;&lt;endl;
}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/299546/primärzahl</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 01:27:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/299546.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Feb 2012 15:42:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 15:42:44 GMT]]></title><description><![CDATA[<p>hallo ich bins wieder</p>
<p>ich habe ein programm geschrieben, welches eine zahl überprüft ob es sich um eine primärzahlen handelt.<br />
jetzt möchte ich eure meinung dazu wissen. weil ich habe es nur geschat, dass er mir die zahlen angibt, welches sich durch die gewählte zahl teilen lassen.</p>
<pre><code># include &lt;iostream.h&gt;
void main ()
{   int n,k;
cin &gt;&gt; n;
for ( k=2;k&lt;=n;k++)
{if (n%k==0)
cout &lt;&lt; k&lt;&lt;endl;
}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2180570</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180570</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Mon, 13 Feb 2012 15:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 15:46:23 GMT]]></title><description><![CDATA[<p>Meinungen gibt es wie Sand am Meer. Stelle eine konkrete Frage!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180574</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Mon, 13 Feb 2012 15:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 15:54:03 GMT]]></title><description><![CDATA[<p>Was ist bitte eine Primärzahl?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180580</guid><dc:creator><![CDATA[SG1]]></dc:creator><pubDate>Mon, 13 Feb 2012 15:54:03 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:04:04 GMT]]></title><description><![CDATA[<p>Ich hab 's auch googlen muessen. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> Eine Primzahl ... a) Fuer eine Primzahl muss der bei Division durch kleinere Zahlen (ausser 1) der Rest ungleich 0 sein. b) Oder anders: Es handelt sich um keine Primzahl, wenn bei Division durch eine kleinere ein Rest von 0 ueberig bleibt.</p>
<p>Also, die genau Frage lautet: Ist n eine Primzahl?</p>
<p>Dabei handelt es sich um eine Funktion, also schreiben wir die Signatur. Da es sich um eine Ja/Nein-Frage (wahr/falsch) handelt, ist der Rueckgabewert bool.</p>
<pre><code class="language-cpp">bool prim(int n)
{
  if (n == 1) return false; // Sonderfall fuer eins
  for(int i = 2; i &lt; n; ++i)  // &lt;-- nur Zahlen kleiner als n testen, weil n%n == 0 immer gilt
  {
    if (n%i == 0) return false; // &lt;-- Variante b
  }

  return true;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2180582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180582</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 15:56:39 GMT]]></title><description><![CDATA[<p>ok du hast recht</p>
<p>dann will ich es mal so ausdrücken. ich möchte das mir das programm angibt ob sich die zahl um eine primzahl handelt oder nicht.<br />
ich habe da eine idee aber kann es nicht in c++ umsetzen. und zwar soll der die zahlen ,welche sich durch die zuvor eingegebene zahl teilen lassen, zählen. sollten es mehr als eine zahl sein, die sich teilen lassen, dann ist es keine primzahl sonst ist es eine. es wird nur eine zahl benötigt, weil ich die 1 schon entfernt habe.</p>
<p>ich hoffe ich konnte mich korrekt ausdrücken <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180584</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Mon, 13 Feb 2012 15:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 15:58:24 GMT]]></title><description><![CDATA[<blockquote>
<p>Was ist bitte eine Primärzahl?</p>
</blockquote>
<p>oh das tut mir leid. hab wohl zu schnell geschrieben.<br />
meine natürlich primzahl. <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="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180585</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180585</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Mon, 13 Feb 2012 15:58:24 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:06:15 GMT]]></title><description><![CDATA[<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>ich habe da eine idee aber kann es nicht in c++ umsetzen. und zwar soll der die zahlen ,welche sich durch die zuvor eingegebene zahl teilen lassen, zählen. sollten es mehr als eine zahl sein, die sich teilen lassen, dann ist es keine primzahl sonst ist es eine. es wird nur eine zahl benötigt, weil ich die 1 schon entfernt habe.</p>
</blockquote>
<p>Dein Programm mit dieser Idee (und mit weniger Fehlern):</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
int main()
{
  int n;
  cin &gt;&gt; n;

  int teiler = 0;
  for (int k = 2; k &lt;= n; k++)
  {
    if (n%k == 0)
       teiler++;
  }

  if (teiler &gt; 1)
    cout &lt;&lt; &quot;Keine Primzahl!&quot;;
  else
    cout &lt;&lt; &quot;Primzahl!&quot;;
}
</code></pre>
<p>Verbesserung Nummer 1: Warum bis n zählen? n ist auf jeden Fall durch n teilbar.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
int main()
{
  int n;
  cin &gt;&gt; n;

  int teiler = 0;
  for (int k = 2; k &lt; n; k++)
  {
    if (n%k == 0)
       teiler++;
  }

  if (teiler &gt; 0)
    cout &lt;&lt; &quot;Keine Primzahl!&quot;;
  else
    cout &lt;&lt; &quot;Primzahl!&quot;;
}
</code></pre>
<p>Verbesserung 2: Warum muss ich nach einem Teiler noch weiterzählen? Ich könnte doch direkt aufhören.</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
int main()
{
  int n;
  cin &gt;&gt; n;

  int teiler = 0;
  for (int k = 2; k &lt; n; k++)
  {
    if (n%k == 0) {
       teiler++;
       break;
    }
  }

  if (teiler &gt; 0)
    cout &lt;&lt; &quot;Keine Primzahl!&quot;;
  else
    cout &lt;&lt; &quot;Primzahl!&quot;;
}
</code></pre>
<p>Verbesserung drei: teiler kann jetzt nur 0 oder 1 sein, und mich interessiert auch nur ob 0 oder 1. Für solche ja/nein-Entscheidungen benutzt man boolesche Variablen:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
using namespace std;
int main()
{
  int n;
  cin &gt;&gt; n;

  bool hatTeiler = false;
  for (int k = 2; k &lt; n; k++)
  {
    if (n%k == 0) {
       hatTeiler = true;
       break;
    }
  }

  if (hatTeiler)
    cout &lt;&lt; &quot;Keine Primzahl!&quot;;
  else
    cout &lt;&lt; &quot;Primzahl!&quot;;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2180588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180588</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:16:19 GMT]]></title><description><![CDATA[<p>ja das sieht doch gut aus.<br />
vielen dank<br />
eine frage hätte ich da noch was genau bedeutet das? using namespace std;<br />
das kenn ich noch nicht. ist das so wichtig?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180597</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:16:19 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:21:54 GMT]]></title><description><![CDATA[<p>Mohamedyarub schrieb:</p>
<blockquote>
<p>eine frage hätte ich da noch was genau bedeutet das? using namespace std;<br />
das kenn ich noch nicht. ist das so wichtig?</p>
</blockquote>
<p><a href="http://fara.cs.uni-potsdam.de/~kaufmann/?page=GenCppFaqs&amp;faq=iostream#Answ" rel="nofollow">http://fara.cs.uni-potsdam.de/~kaufmann/?page=GenCppFaqs&amp;faq=iostream#Answ</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180601</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:22:12 GMT]]></title><description><![CDATA[<p>Naja, eigentlich musst du z.B. <code>std::cin</code> schreiben. Du benutzt <code>cin</code> aus dem Namensraum <code>std</code> . Mit <code>using</code> gibst du den Namensraum direkt an und kannst das <code>std::</code> vor <code>cin</code> weglassen. Bei dir klappt es auch ohne, da du <code>iostream.h</code> einbindest, wobei das sehr veraltet ist. Wenn du das aus einem Buch oder so hast, kaufe dir ein neues!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180603</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180603</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:29:48 GMT]]></title><description><![CDATA[<p>ich hab das jetzt so gemacht</p>
<pre><code>#include &lt;iostream.h&gt;
void main()
{
  int n;
  cin &gt;&gt; n;

  int teiler = 0;
  for (int k = 2; k &lt;= n; k++)
  {
    if (n%k == 0)
       teiler++;
  }

  if (teiler &gt; 1)
    cout &lt;&lt; &quot;Keine Primzahl!&quot;;
  else
    cout &lt;&lt; &quot;Primzahl!&quot;;
}
</code></pre>
<p>und wegen iostream.h<br />
ich habe das nicht aus dem buch sondern lerne das auf der uni. studiere Physik und haben als nebenfach noch informatik.<br />
kenne das programmieren erst seit 2 monaten.</p>
<p>nochmal vielen dank an alle für eure schnellen und sehr guten antworten <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180608</guid><dc:creator><![CDATA[Mohamedyarub]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:29:48 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Mon, 13 Feb 2012 16:34:40 GMT]]></title><description><![CDATA[<p>Als Rat: Kaufe dir ein gutes Buch und vergiss den Unikurs. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2180611</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2180611</guid><dc:creator><![CDATA[knivil]]></dc:creator><pubDate>Mon, 13 Feb 2012 16:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 09:52:39 GMT]]></title><description><![CDATA[<p>kannst es auch mit dem beispiel versuchen, wo man die primzahlen bis hundert ausgibt ...</p>
<pre><code class="language-cpp">for( nCount = 1; nCount &lt; 100; nCount += 2 )
{
	bIsPrim = 1;
	for( nDiv = 2; nDiv &lt;= nCount / 2; nDiv+=2 )
	{
		if( nDiv == 4 )
			nDiv--;
		if( nCount % nDiv == 0 )
		{
			bIsPrim = 0;
			break;
		}
	}
	if( bIsPrim == 1 )
		printf( &quot;%2d ist eine Primzahl\n&quot;, nCount );
</code></pre>
<p>soo long zai</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184216</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184216</guid><dc:creator><![CDATA[zaiborg]]></dc:creator><pubDate>Wed, 22 Feb 2012 09:52:39 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 10:44:52 GMT]]></title><description><![CDATA[<p>zaiborg schrieb:</p>
<blockquote>
<pre><code class="language-cpp">for( nDiv = 2; nDiv &lt;= nCount / 2; nDiv+=2 )
</code></pre>
</blockquote>
<p>Y U NO STOP AT SQRT(nCount) ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184229</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184229</guid><dc:creator><![CDATA[wurzelreicht]]></dc:creator><pubDate>Wed, 22 Feb 2012 10:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 11:51:49 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/u100590" rel="nofollow">Martin Richter</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/f1" rel="nofollow">MFC (Visual C++)</a> in das Forum <a href="http://www.c-plusplus.net/forum/f15" rel="nofollow">C++ (auch C++0x und C++11)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184251</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Wed, 22 Feb 2012 11:51:49 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 19:57:33 GMT]]></title><description><![CDATA[<p>//edit: 1 vergessen... ^^</p>
<pre><code class="language-cpp">bool isprim(unsigned val)
{
  assert(val != 0);

  if(val == 1)
    return false;
  if(val &lt; 4)
    return true;
  if(val%2 == 0)
    return false;

  for(unsigned i = 3; i &lt; val; i += 2)
  {
    if(val%i == 0)
      return false;
    if(val/i &lt; 2)
      break;
  }

  return true;
}
</code></pre>
<pre><code class="language-cpp">#include &lt;iostream&gt;

int main()
{
  for(unsigned in; std::cin &gt;&gt; in;)
  {
    if(isprim(in))
      std::cout &lt;&lt; &quot;Primzahl\n&quot;;
    else
      std::cout &lt;&lt; &quot;keine Primzahl\n&quot;;
  }
}
</code></pre>
<p>bb</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184360</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184360</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 22 Feb 2012 19:57:33 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 19:13:37 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;vector&gt;

bool is_prime(unsigned n)
{
        if(n &lt; 2)
                return false;

        if(n == 2 || n == 3)
                return true;

        if(n % 2 == 0 || n % 3 == 0)
                return false;

        for(unsigned i = 5, delta = 2; i * i &lt;= n; i += delta, delta = 6 - delta)
                if(n % i == 0)
                        return false;

        return true;
}

template &lt;typename T, typename A&gt;
std::ostream&amp; operator &lt;&lt; (std::ostream&amp; os, std::vector&lt;T, A&gt; const&amp; v)
{
        os &lt;&lt; '[';

        if(v.empty())
                return os &lt;&lt; ']';

        os &lt;&lt; v.front();

        for(auto iter = ++v.begin(); iter != v.end(); ++iter)
                os &lt;&lt; ',' &lt;&lt; *iter;

        return os &lt;&lt; ']';
}

int main()
{
        unsigned const bounds[] = { 0, 150 };
        std::vector&lt;int&gt; primes;

        for(unsigned i = bounds[0]; i &lt;= bounds[1]; ++i)
                if(is_prime(i))
                        primes.push_back(i);

        std::cout &lt;&lt; primes;
}
</code></pre>
<p>Im Prinzip ähnlich der Version von unskilled, außer dass nicht nur Vielfache von 2, sondern direkt Vielfache von 2 und 3 überprungen werden. (Auf i wird abwechselt 2 und 4 addiert.)</p>
<p><a href="http://ideone.com/Mmje2" rel="nofollow">http://ideone.com/Mmje2</a></p>
<p>Und weil ich gerade Langeweile hab, hier nochmal das ganze in Haskell. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/2764.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--red_heart"
      title="&lt;3"
      alt="❤"
    /></p>
<pre><code>isPrimeImpl n i delta
        | i * i &gt; n      = True
        | n `mod` i == 0 = False
        | otherwise      = isPrimeImpl n (i + delta) (6 - delta)

isPrime n
        | n &lt; 2                            = False
        | n `elem` [2, 3]                  = True
        | n `mod` 2 == 0 || n `mod` 3 == 0 = False
        | otherwise                        = isPrimeImpl n 5 2

main = print $ filter isPrime [1 .. 150]
</code></pre>
<p><a href="http://ideone.com/Bs60a" rel="nofollow">http://ideone.com/Bs60a</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184393</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184393</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Wed, 22 Feb 2012 19:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 19:18:51 GMT]]></title><description><![CDATA[<p>Nicht weil du Langeweile hast. Weil du allen zeigen willst, wie toll du in Haskell h4xX0rn kannst <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184394</guid><dc:creator><![CDATA[hihi]]></dc:creator><pubDate>Wed, 22 Feb 2012 19:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 19:20:18 GMT]]></title><description><![CDATA[<p>Haskell ist halt sexy.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184395</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184395</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Wed, 22 Feb 2012 19:20:18 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 19:56:54 GMT]]></title><description><![CDATA[<p>...und bis auf die tatsache, dass bei mir 1 ne primzahl ist, weil ich nen trottel bin <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="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184404</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 22 Feb 2012 19:56:54 GMT</pubDate></item><item><title><![CDATA[Reply to Primärzahl on Wed, 22 Feb 2012 21:34:49 GMT]]></title><description><![CDATA[<p>Der Tip nach<br />
prime numbers filetype:cpp<br />
zu googeln wäre wahrscheinlich für den OP viel hilfreicher als so einiges anderes was hier geantwortet wurde.</p>
<p>Die üblichen Verdächtigen eben. Seufz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2184437</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2184437</guid><dc:creator><![CDATA[EOP]]></dc:creator><pubDate>Wed, 22 Feb 2012 21:34:49 GMT</pubDate></item></channel></rss>