<?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[Potenz]]></title><description><![CDATA[<p>Hi!</p>
<p>Wie kann man ein Potenz in C++ definieren: zB d[a]^a (d.h. &quot;d hoch a&quot;), wenn beide Variablen (a,d) double sind?<br />
double a<br />
double d[100]</p>
<p>Fehlermeldung:</p>
<p>error C2296: '^' : illegal, left operand has type 'double *'<br />
error C2297: '^' : illegal, right operand has type 'double'</p>
<p>Sollte auch (-d[a])^a functionieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/63817/potenz</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 14:00:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/63817.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Feb 2004 21:41:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Potenz on Wed, 04 Feb 2004 21:41:25 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Wie kann man ein Potenz in C++ definieren: zB d[a]^a (d.h. &quot;d hoch a&quot;), wenn beide Variablen (a,d) double sind?<br />
double a<br />
double d[100]</p>
<p>Fehlermeldung:</p>
<p>error C2296: '^' : illegal, left operand has type 'double *'<br />
error C2297: '^' : illegal, right operand has type 'double'</p>
<p>Sollte auch (-d[a])^a functionieren?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/452060</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/452060</guid><dc:creator><![CDATA[Emir]]></dc:creator><pubDate>Wed, 04 Feb 2004 21:41:25 GMT</pubDate></item><item><title><![CDATA[Reply to Potenz on Wed, 04 Feb 2004 22:13:50 GMT]]></title><description><![CDATA[<p>Vorsicht !<br />
^ != potenz in C++<br />
der ^ operant ist ein binäres XOR.<br />
Für potenzen gibt es imho die funktion pow(....);</p>
<p>Devil</p>
]]></description><link>https://www.c-plusplus.net/forum/post/452095</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/452095</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Wed, 04 Feb 2004 22:13:50 GMT</pubDate></item></channel></rss>