<?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[Illegal use of floating  point bei &amp;quot;double&amp;quot; variable]]></title><description><![CDATA[<p>Hall beo folgenden Codeausschnitt spcukt er die oben genannte Fehlermeldung aus.</p>
<pre><code class="language-cpp">double multi;
multi=2
DstLine[X + (Pic-&gt;Picture-&gt;Bitmap-&gt;Width - Src-&gt;Width) / multi].rgbtRed=(SrcLine[X].rgbtRed * Percent) / 100 + (DstLine[X + (Pic-&gt;Picture-&gt;Bitmap-&gt;Width - Src-&gt;Width) /  multi].rgbtRed * (100 - Percent)) / 100;
</code></pre>
<p>Es muss etwas mit &quot;multi&quot; zu tuen haben denn sonst hat es so immer funktionier. Kann mir jemand sagen, was das Problem ist?<br />
Danke<br />
mfg MAxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/136990/illegal-use-of-floating-point-bei-quot-double-quot-variable</link><generator>RSS for Node</generator><lastBuildDate>Sun, 02 Aug 2026 07:49:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/136990.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Feb 2006 16:55:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 16:55:39 GMT]]></title><description><![CDATA[<p>Hall beo folgenden Codeausschnitt spcukt er die oben genannte Fehlermeldung aus.</p>
<pre><code class="language-cpp">double multi;
multi=2
DstLine[X + (Pic-&gt;Picture-&gt;Bitmap-&gt;Width - Src-&gt;Width) / multi].rgbtRed=(SrcLine[X].rgbtRed * Percent) / 100 + (DstLine[X + (Pic-&gt;Picture-&gt;Bitmap-&gt;Width - Src-&gt;Width) /  multi].rgbtRed * (100 - Percent)) / 100;
</code></pre>
<p>Es muss etwas mit &quot;multi&quot; zu tuen haben denn sonst hat es so immer funktionier. Kann mir jemand sagen, was das Problem ist?<br />
Danke<br />
mfg MAxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994131</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Tue, 14 Feb 2006 16:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 16:59:47 GMT]]></title><description><![CDATA[<p>wenn du meinst das es was mit MULTI zu tun hat dann versuch halt mal nen anderen variable namen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994136</guid><dc:creator><![CDATA[Minmann]]></dc:creator><pubDate>Tue, 14 Feb 2006 16:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 17:37:59 GMT]]></title><description><![CDATA[<p>Welches Ergebnis erhälst du, wenn du 1 / 2 teilst? UNd welche Adresse (Arrayplatz) würdest du diesem Ergebnis zuordnen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994166</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994166</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Tue, 14 Feb 2006 17:37:59 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 17:56:15 GMT]]></title><description><![CDATA[<p>Ja, wenn ichd ichr ichtig verstanden habe ist double zu klein? Habe es nun mit log double versucht aber genau die gleiche Reaktion.<br />
Ich habe keine Ahnung woran es leigen könnte.<br />
mfg maxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994177</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Tue, 14 Feb 2006 17:56:15 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 18:15:02 GMT]]></title><description><![CDATA[<p>was hat double für ein zahlenwert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994198</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994198</guid><dc:creator><![CDATA[BigNeal]]></dc:creator><pubDate>Tue, 14 Feb 2006 18:15:02 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Tue, 14 Feb 2006 18:38:17 GMT]]></title><description><![CDATA[<p>Ja in meinem Falle 2 aber mit 2.01 ect. klappt es auch nicht oder warauf willst du hinaus? Ich habe das gleiche bei einer etwas anderen funtkion gemacht ,wie diese, die ich gepostet hab und da hat es funktioniert mit dem Wert double test=1.01 also dachte ich es liegt nicht daran.<br />
mfg Maxmann</p>
<p>ps: MIN-mann ich lach mich weg ;). Der name kommt wegen meinem 2.namen maximilian (aber war mir zu lang)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994214</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994214</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Tue, 14 Feb 2006 18:38:17 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 06:03:38 GMT]]></title><description><![CDATA[<p>Maxmann schrieb:</p>
<blockquote>
<p>Ich habe das gleiche bei einer etwas anderen funtkion gemacht ,wie diese, die ich gepostet hab und da hat es funktioniert mit dem Wert double test=1.01 also dachte ich es liegt nicht daran.</p>
</blockquote>
<p>Offensichtlich machst du da etwas anderes....</p>
<p>Denk nochmal darüber nach:</p>
<p>junix schrieb:</p>
<blockquote>
<p>Welches Ergebnis erhälst du, wenn du 1 / 2 teilst? UNd welche Adresse (Arrayplatz) würdest du diesem Ergebnis zuordnen?</p>
</blockquote>
<p>Ich sag dir das REsultat: 0.5. So, nun würds mich interessieren, welcher Arrayplatz an der Adresse 0.5 zu liegen kommt?</p>
<p>Der Witz ist, dass Array indizes GANZZAHLEN sein müssen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/994460</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/994460</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Wed, 15 Feb 2006 06:03:38 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 16:40:49 GMT]]></title><description><![CDATA[<p>??? Sorry da versteh ich nicht, bin neu in C++. Was meinst du mit Array-indizes?<br />
Naja geht es nun überhaupt das mit einer Variable auzufürhen oder muss ich für den Source Zahlen anstatt variablen benutzen?<br />
mfg Maxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995079</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Wed, 15 Feb 2006 16:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 17:55:04 GMT]]></title><description><![CDATA[<p>Dann solltest du dich erstmal etwas in C++ einarbeiten, wäre eine gute Idee.</p>
<p>(kurz: ja, es geht, aber nicht mit double Variablen (ganze Zahlen sind z.B. int))</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995153</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995153</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 15 Feb 2006 17:55:04 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 18:03:31 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/10318">@CStoll</a>: hast Du meine Email bekommen, oder fragst Du diese Adresse nicht regelmäßig ab? Vielleicht kannst Du mir mal eine Mail schicken? Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995160</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995160</guid><dc:creator><![CDATA[Marc++us]]></dc:creator><pubDate>Wed, 15 Feb 2006 18:03:31 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 18:43:22 GMT]]></title><description><![CDATA[<p>Marc++us schrieb:</p>
<blockquote>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/10318">@CStoll</a>: hast Du meine Email bekommen, oder fragst Du diese Adresse nicht regelmäßig ab? Vielleicht kannst Du mir mal eine Mail schicken? Danke.</p>
</blockquote>
<p>tss... das ist ja sowas von off-topic. sollte mal ein moderator löschen. <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>
]]></description><link>https://www.c-plusplus.net/forum/post/995183</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995183</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Wed, 15 Feb 2006 18:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to Illegal use of floating  point bei &amp;quot;double&amp;quot; variable on Wed, 15 Feb 2006 19:44:08 GMT]]></title><description><![CDATA[<p>Sorry Marc++us diese Addy wurde vor kurzem geknackt und habe kein Chanze drauf zuzugeifen. Ich habe aber die email adresse nun geändert(hat ich vorher verplant).<br />
Naja das mit den Ganzzahlen war mir klar, ich kenn mich auch mit C++ aus nur nicht mir Borland. Ich wollte ja auch zum Beispiel Werte wie 1.01 einsetzen.<br />
mfg maxmann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995235</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995235</guid><dc:creator><![CDATA[Maxmann]]></dc:creator><pubDate>Wed, 15 Feb 2006 19:44:08 GMT</pubDate></item></channel></rss>