<?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[Variable in Textfeld schreiben]]></title><description><![CDATA[<p>Hallo</p>
<p>ich habe eine Variable, diese will ich in ein Textfeld schreiben..</p>
<pre><code>float Wirkungsgrad = ((Strom * Spannung)/Wirkleistung) *cosPhi;

txt_Wirkungsgrad-&gt;Text = Wirkungsgrad;
</code></pre>
<p>Will aber nicht..</p>
<p>Kann mir einer sagen wie ich das machen soll?</p>
<p>Danke!!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/137248/variable-in-textfeld-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 17:04:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/137248.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Feb 2006 10:16:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:16:24 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ich habe eine Variable, diese will ich in ein Textfeld schreiben..</p>
<pre><code>float Wirkungsgrad = ((Strom * Spannung)/Wirkleistung) *cosPhi;

txt_Wirkungsgrad-&gt;Text = Wirkungsgrad;
</code></pre>
<p>Will aber nicht..</p>
<p>Kann mir einer sagen wie ich das machen soll?</p>
<p>Danke!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995555</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995555</guid><dc:creator><![CDATA[Marco123]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:18:47 GMT]]></title><description><![CDATA[<p>Ja, erstmal dazusagen, für welches System dieses Codefragment sein soll.</p>
<p>(PS: Ich vermute ja, daß du die Variable vor der Ausgabe noch in einen String konvertieren solltest)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995558</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:18:47 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:22:12 GMT]]></title><description><![CDATA[<p>Marco123 schrieb:</p>
<blockquote>
<p>ich habe eine Variable, diese will ich in ein Textfeld schreiben..</p>
</blockquote>
<p>Standard-C++ kennt keine Textfelder. Welches BS und welche Klassenbibliothek verwendest du?</p>
<p>Vielleicht reicht es ja schon, wenn du deine Zahl in einen String umwandelst. Wie das geht, findest du in den C++ FAQ ausführlich erklärt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995562</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995562</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:22:39 GMT]]></title><description><![CDATA[<p>im BCB müsste es so aussehen:</p>
<pre><code class="language-cpp">txt_Wirkungsgrad-&gt;Text = FloatToStr(Wirkungsgrad);
</code></pre>
<p>da das Editfeld einen AnsiString erwartet!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995564</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:30:28 GMT]]></title><description><![CDATA[<p>Hi,<br />
ja ich benutze den BCB.</p>
<pre><code>txt_Wirkungsgrad-&gt;Text = FloatToStr(Wirkungsgrad);
</code></pre>
<p>Habe ich so gemacht .. Er sagt mir immer undefiniertes Symbol? in dieser Zeile..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995568</guid><dc:creator><![CDATA[Marco123]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:30:28 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:34:43 GMT]]></title><description><![CDATA[<p>WElches Symbol ist undefiniert? (schau mal in der BCB-Hilfe, welche Header und Bibliotheken du für FloatToStr() benötigst)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995573</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:34:43 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:44:04 GMT]]></title><description><![CDATA[<p>Er sagt mir Wirkungsgrad ist ein undefiniertes Symbol</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995580</guid><dc:creator><![CDATA[Marco123]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 10:51:16 GMT]]></title><description><![CDATA[<p>kannst du vielleicht noch bisschen quelltext kopieren?<br />
vielleicht ist nur ein rechtschreibefehler oder so!</p>
<p>vielleicht ist auch eine variable in der berechnung für Wirkungsgrad nicht definiert oder so! hm...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995583</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to Variable in Textfeld schreiben on Thu, 16 Feb 2006 11:01:56 GMT]]></title><description><![CDATA[<p>Sorry Hatte tatsächlich nen Scheibfehler.. <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="🙂"
    /> Muss mir glaube mal nen Brille kaufen..</p>
<p>Danke aber trotzdem!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995597</guid><dc:creator><![CDATA[Marco123]]></dc:creator><pubDate>Thu, 16 Feb 2006 11:01:56 GMT</pubDate></item></channel></rss>