<?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[pow &amp;lt;cmath&amp;gt;]]></title><description><![CDATA[<p>hey leute...<br />
ich hab mir jetzt das C++ Buch zugelegt...<br />
ist echt super....<br />
nun wollte ich das bisher erlernte mal anwenden, jedoch finde ich im folgenden die 2 Kompilierfehler nicht!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;
using namespace std;

void potenzieren();  //Prototyp

int main()
{
	double Zahl, Hochzahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein:\n&quot;;
	cin &gt;&gt; Zahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein, mit der hoch-gerechnet werden soll:\n&quot;;
	cin &gt;&gt; Hochzahl;
	cout &lt;&lt; Zahl &lt;&lt;&quot; hoch &quot; &lt;&lt; Hochzahl &lt;&lt; &quot;ergibt:\t&quot;;
	potenzieren(double Zahl, double Hochzahl);
}

void potenzieren(double Zahl, double Hochzahl)
{
	double y;
	y = pow(Zahl, Hochzahl);
	cout &lt;&lt; y;
}
</code></pre>
<p>Wäre nett, wenn ihr mir helfen würdet!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/125283/pow-lt-cmath-gt</link><generator>RSS for Node</generator><lastBuildDate>Mon, 24 Aug 2026 07:36:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/125283.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Nov 2005 13:42:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 13:42:02 GMT]]></title><description><![CDATA[<p>hey leute...<br />
ich hab mir jetzt das C++ Buch zugelegt...<br />
ist echt super....<br />
nun wollte ich das bisher erlernte mal anwenden, jedoch finde ich im folgenden die 2 Kompilierfehler nicht!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;
using namespace std;

void potenzieren();  //Prototyp

int main()
{
	double Zahl, Hochzahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein:\n&quot;;
	cin &gt;&gt; Zahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein, mit der hoch-gerechnet werden soll:\n&quot;;
	cin &gt;&gt; Hochzahl;
	cout &lt;&lt; Zahl &lt;&lt;&quot; hoch &quot; &lt;&lt; Hochzahl &lt;&lt; &quot;ergibt:\t&quot;;
	potenzieren(double Zahl, double Hochzahl);
}

void potenzieren(double Zahl, double Hochzahl)
{
	double y;
	y = pow(Zahl, Hochzahl);
	cout &lt;&lt; y;
}
</code></pre>
<p>Wäre nett, wenn ihr mir helfen würdet!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908758</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908758</guid><dc:creator><![CDATA[XaTrIxX]]></dc:creator><pubDate>Sat, 05 Nov 2005 13:42:02 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 13:50:48 GMT]]></title><description><![CDATA[<p>Welche Fehler?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908764</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sat, 05 Nov 2005 13:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 13:50:58 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">void potenzieren();  //Prototyp
</code></pre>
<p>das ist zwar ein prototyp, aber keiner für</p>
<pre><code class="language-cpp">void potenzieren(double Zahl, double Hochzahl)
</code></pre>
<p>im übrigen in zukunft bitte stets auch die fehlermeldung selbst mit angeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908765</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908765</guid><dc:creator><![CDATA[camper]]></dc:creator><pubDate>Sat, 05 Nov 2005 13:50:58 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 13:54:29 GMT]]></title><description><![CDATA[<p>und bei</p>
<pre><code class="language-cpp">potenzieren(double Zahl, double Hochzahl);
</code></pre>
<p>musst du die double weglassen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908769</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908769</guid><dc:creator><![CDATA[michba]]></dc:creator><pubDate>Sat, 05 Nov 2005 13:54:29 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 14:41:51 GMT]]></title><description><![CDATA[<p>hmm...wegen der fehler...<br />
ich hab jetzt ja dank dem buch visual c++<br />
da zeigt´s nur an: x fehler, x warnungen...mehr nicht<br />
so ich habs mal abgeändert...hat aber nicht geholfen!</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
#include &lt;cmath&gt;
using namespace std;

void potenzieren(double, double);  //Prototyp

int main()
{
	double Zahl, Hochzahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein:\n&quot;;
	cin &gt;&gt; Zahl;
	cout &lt;&lt; &quot;Geben Sie eine Zahl ein, mit der hoch-gerechnet werden soll:\n&quot;;
	cin &gt;&gt; Hochzahl;
	cout &lt;&lt; Zahl &lt;&lt;&quot; hoch &quot; &lt;&lt; Hochzahl &lt;&lt; &quot;ergibt:\t&quot;;
	potenzieren(Zahl, Hochzahl);
}

void potenzieren(Zahl, Hochzahl)
{
	double y;
	y = pow(Zahl, Hochzahl);
	cout &lt;&lt; y;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/908809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908809</guid><dc:creator><![CDATA[XaTrIxX]]></dc:creator><pubDate>Sat, 05 Nov 2005 14:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 14:51:54 GMT]]></title><description><![CDATA[<p>Du solltest die Typen nur beim Aufruf weglassen, nicht bei der Definition. Das kommt davon, wenn man Variablennamen mehrfach verwendet ;).<br />
btw, Zahl und Hochzahl heißen im Allgemeinen Basis und Exponent.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908816</guid><dc:creator><![CDATA[.filmor]]></dc:creator><pubDate>Sat, 05 Nov 2005 14:51:54 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sat, 05 Nov 2005 15:08:58 GMT]]></title><description><![CDATA[<p>danke jetzt funktioniert´s!<br />
closed!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/908824</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/908824</guid><dc:creator><![CDATA[XaTrIxX]]></dc:creator><pubDate>Sat, 05 Nov 2005 15:08:58 GMT</pubDate></item><item><title><![CDATA[Reply to pow &amp;lt;cmath&amp;gt; on Sun, 06 Nov 2005 15:52:05 GMT]]></title><description><![CDATA[<p>Falls du den Prototyp kürzen willst:</p>
<pre><code class="language-cpp">void potenzieren(double, double);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/909627</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/909627</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sun, 06 Nov 2005 15:52:05 GMT</pubDate></item></channel></rss>