<?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[Testen ob Zahl komplex ist]]></title><description><![CDATA[<p>Hey, ich bräuchte eine Funktion die testet ob ein Zahl komplex ist also</p>
<p>bool IstKomplexeZahl(int Zahl);</p>
<p>Ich weiß nicht wie ich diese implementieren soll. Kann mir einer helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162683/testen-ob-zahl-komplex-ist</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 16:46:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162683.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Oct 2006 01:24:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 01:24:11 GMT]]></title><description><![CDATA[<p>Hey, ich bräuchte eine Funktion die testet ob ein Zahl komplex ist also</p>
<p>bool IstKomplexeZahl(int Zahl);</p>
<p>Ich weiß nicht wie ich diese implementieren soll. Kann mir einer helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1158862</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1158862</guid><dc:creator><![CDATA[Sozialarbeiter]]></dc:creator><pubDate>Sun, 22 Oct 2006 01:24:11 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 01:27:44 GMT]]></title><description><![CDATA[<p>Ganz einfach:</p>
<pre><code class="language-cpp">bool IstKomplexeZahl(int Zahl)
{
    return false;
}
</code></pre>
<p>Fertig. Vielleicht solltest du mal nachlesen was eine komplexe Zahl ist:<br />
<a href="http://de.wikipedia.org/wiki/Komplexe_Zahl" rel="nofollow">http://de.wikipedia.org/wiki/Komplexe_Zahl</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1158864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1158864</guid><dc:creator><![CDATA[Plotzenhotz]]></dc:creator><pubDate>Sun, 22 Oct 2006 01:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 10:10:11 GMT]]></title><description><![CDATA[<p>Nachdem Du nun weißt, was eine komplexe Zahl ist, findest Du hier eine vereinfachte Klasse, wobei Du noch eine Menge über Klassendesign lernen kannst:<br />
<a href="http://www.gotw.ca/gotw/004.htm" rel="nofollow">http://www.gotw.ca/gotw/004.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1158946</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1158946</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Sun, 22 Oct 2006 10:10:11 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 17:31:11 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">template&lt;class T&gt;
bool IstKomplexeZahl(T)
{
	return false;
}

template&lt;class T&gt;
bool IstKomplexeZahl(const std::complex&lt;T&gt;&amp;)
{
	return true;
}
</code></pre>
<p>oder so ähnlich...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159098</guid><dc:creator><![CDATA[helper]]></dc:creator><pubDate>Sun, 22 Oct 2006 17:31:11 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 19:03:09 GMT]]></title><description><![CDATA[<p>Plotzenhotz schrieb:</p>
<blockquote>
<p>Ganz einfach:</p>
<pre><code class="language-cpp">bool IstKomplexeZahl(int Zahl)
{
    return false;
}
</code></pre>
<p>...</p>
</blockquote>
<p>ROTFL !!! <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="😃"
    /> <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>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159175</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Sun, 22 Oct 2006 19:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 19:14:18 GMT]]></title><description><![CDATA[<p><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mrow><mi mathvariant="double-struck">Z</mi></mrow><mo>⊂</mo><mrow><mi mathvariant="double-struck">C</mi></mrow></mrow><annotation encoding="application/x-tex">\mathbb{Z}\subset\mathbb{C}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.68889em;"></span><span class="strut bottom" style="height:0.72799em;vertical-align:-0.0391em;"></span><span class="base textstyle uncramped"><span class="mord textstyle uncramped"><span class="mord mathbb">Z</span></span><span class="mrel">⊂</span><span class="mord textstyle uncramped"><span class="mord mathbb">C</span></span></span></span></span></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159193</guid><dc:creator><![CDATA[Bashar]]></dc:creator><pubDate>Sun, 22 Oct 2006 19:14:18 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 19:28:35 GMT]]></title><description><![CDATA[<p>Bashar schrieb:</p>
<blockquote>
<p><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mrow><mi mathvariant="double-struck">Z</mi></mrow><mo>⊂</mo><mrow><mi mathvariant="double-struck">C</mi></mrow></mrow><annotation encoding="application/x-tex">\mathbb{Z}\subset\mathbb{C}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.68889em;"></span><span class="strut bottom" style="height:0.72799em;vertical-align:-0.0391em;"></span><span class="base textstyle uncramped"><span class="mord textstyle uncramped"><span class="mord mathbb">Z</span></span><span class="mrel">⊂</span><span class="mord textstyle uncramped"><span class="mord mathbb">C</span></span></span></span></span></p>
</blockquote>
<p>Stimmt, denn a+0i ist wenn a Element von \a\subset\mathbb{Z} ist, eine komplexe Zahl, gleichzeitig jedoch auch eine reelle Zahl.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159204</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159204</guid><dc:creator><![CDATA[jeko]]></dc:creator><pubDate>Sun, 22 Oct 2006 19:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to Testen ob Zahl komplex ist on Sun, 22 Oct 2006 22:54:46 GMT]]></title><description><![CDATA[<p>Ja, viel mir dann auch auf nach dem ich das gepostet hatte.<br />
Ok, hier die mathematisch korrekte Version:</p>
<pre><code class="language-cpp">bool IstKomplexeZahl(int Zahl)
{
    return true;
}
</code></pre>
<p><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/1159250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159250</guid><dc:creator><![CDATA[Plotzenhotz]]></dc:creator><pubDate>Sun, 22 Oct 2006 22:54:46 GMT</pubDate></item></channel></rss>