<?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 und Text]]></title><description><![CDATA[<p>Hallo,</p>
<p>ist mein erstes Problem und ich hoffe das ist das richtige Forum.</p>
<p>Also ich habe eine Variable (Raten) und ich will sie ausgeben, bis dahin kein Problem aber nun will ich es so ausgeben:</p>
<p>Raten TEXT</p>
<p>Also soll hinter die Variable noch ein Text, wie mach ich das?<br />
Vielleicht eine dumme Frage aber hab heute erst mit C++ angefangen.</p>
<p>Mfg. SV</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/167915/variable-und-text</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 21:44:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/167915.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 Dec 2006 14:53:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Variable und Text on Sat, 16 Dec 2006 14:54:13 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ist mein erstes Problem und ich hoffe das ist das richtige Forum.</p>
<p>Also ich habe eine Variable (Raten) und ich will sie ausgeben, bis dahin kein Problem aber nun will ich es so ausgeben:</p>
<p>Raten TEXT</p>
<p>Also soll hinter die Variable noch ein Text, wie mach ich das?<br />
Vielleicht eine dumme Frage aber hab heute erst mit C++ angefangen.</p>
<p>Mfg. SV</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1192979</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1192979</guid><dc:creator><![CDATA[SuperVici]]></dc:creator><pubDate>Sat, 16 Dec 2006 14:54:13 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Sat, 16 Dec 2006 14:57:35 GMT]]></title><description><![CDATA[<p>Wenn du es in einem Edit ausgeben willst sieht das folgendermaßen aus:</p>
<pre><code class="language-cpp">Edit1-&gt;Text = IntToStr(Raten) + &quot;.......&quot;;
</code></pre>
<p>mal davon ausgegangen, dass deine Raten-Variable eine Integer-Variable ist.</p>
<p>in einem Label siehts so aus:</p>
<p>[cpp]Label1-&gt;Caption = IntToStr(Raten) + &quot;...&quot;;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1192982</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1192982</guid><dc:creator><![CDATA[MWJK]]></dc:creator><pubDate>Sat, 16 Dec 2006 14:57:35 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Sun, 17 Dec 2006 17:24:01 GMT]]></title><description><![CDATA[<p>Eleganter geht sowas (vor Allem auchim Hinblick auf mehrsprachigkeiten) allerdings mti AnsiString::sprintf</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1193580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1193580</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Sun, 17 Dec 2006 17:24:01 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Tue, 16 Jan 2007 15:04:24 GMT]]></title><description><![CDATA[<p>junix schrieb:</p>
<blockquote>
<p>Eleganter geht sowas (vor Allem auchim Hinblick auf mehrsprachigkeiten) allerdings mti AnsiString::sprintf</p>
</blockquote>
<p>Ich will AnsiString der Komponente Label1-&gt;Caption direkt vom Speicher<br />
über Pointer beschreiben. Ich benutze C++ Builder.<br />
Beispiel:</p>
<p>char p[100];<br />
strcpy(p,“Test”);</p>
<p>Label1-&gt;Caption.sprintf(&quot;Test %s &quot;,p); //So etwas bringt keinen Erfolg:</p>
<p>Bitte um Vorschläge!!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1210829</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1210829</guid><dc:creator><![CDATA[skorpionx]]></dc:creator><pubDate>Tue, 16 Jan 2007 15:04:24 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Tue, 16 Jan 2007 15:07:54 GMT]]></title><description><![CDATA[<p>skorpionx schrieb:</p>
<blockquote>
<p>Ich will AnsiString der Komponente Label1-&gt;Caption direkt vom Speicher<br />
über Pointer beschreiben. Ich benutze C++ Builder.<br />
Beispiel:</p>
<p>char p[100];<br />
strcpy(p,“Test”);</p>
<p>Label1-&gt;Caption.sprintf(&quot;Test %s &quot;,p); //So etwas bringt keinen Erfolg:</p>
<p>Bitte um Vorschläge!!!!</p>
</blockquote>
<p>Was hat Dir an den Antworten <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-170466.html" rel="nofollow">hier</a> nicht gefallen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1210830</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1210830</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 16 Jan 2007 15:07:54 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Mon, 05 Mar 2007 11:10:43 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab wieder ein Problem:</p>
<pre><code class="language-cpp">text2 = IntToStr(Zahl).c_str();
        Application-&gt;MessageBoxA(text2 + &quot;text&quot;, &quot;Meldung&quot;, 0);
</code></pre>
<p>Er sagt mir das der Pointer invalid ist, aber ich finde keinen Fehler.</p>
<p>Mfg. SV</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1239413</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1239413</guid><dc:creator><![CDATA[SuperVici]]></dc:creator><pubDate>Mon, 05 Mar 2007 11:10:43 GMT</pubDate></item><item><title><![CDATA[Reply to Variable und Text on Mon, 05 Mar 2007 11:13:09 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">AnsiString text2 = IntToStr(Zahl) + &quot;text&quot;;
Application-&gt;MessageBoxA(text2.c_str(), &quot;Meldung&quot;, 0);
</code></pre>
<p>mfg, Micha!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1239414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1239414</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 05 Mar 2007 11:13:09 GMT</pubDate></item></channel></rss>