<?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[Umwandeln in char]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich brauche eine Art toString()-Funktion.</p>
<p>Ich möchte beliebige Objekte(Objekte, Zahlen) in CString oder char umwandeln. Leider fehlt mir dazu die Idee.</p>
<p>Vielen Dank, Euer Jörg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/160806/umwandeln-in-char</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 10:43:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/160806.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Sep 2006 14:25:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Umwandeln in char on Fri, 29 Sep 2006 14:25:34 GMT]]></title><description><![CDATA[<p>Hallo!</p>
<p>Ich brauche eine Art toString()-Funktion.</p>
<p>Ich möchte beliebige Objekte(Objekte, Zahlen) in CString oder char umwandeln. Leider fehlt mir dazu die Idee.</p>
<p>Vielen Dank, Euer Jörg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1146615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1146615</guid><dc:creator><![CDATA[joergh]]></dc:creator><pubDate>Fri, 29 Sep 2006 14:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Fri, 29 Sep 2006 14:27:57 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">sprintf(your_char,&quot;%d&quot;,your_num);
</code></pre>
<p>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1146616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1146616</guid><dc:creator><![CDATA[Kuldren]]></dc:creator><pubDate>Fri, 29 Sep 2006 14:27:57 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Fri, 29 Sep 2006 15:02:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">int zahl = 123;
CString str;
str.Format(&quot;%i&quot;, zahl);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1146637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1146637</guid><dc:creator><![CDATA[NickHappy]]></dc:creator><pubDate>Fri, 29 Sep 2006 15:02:13 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Sat, 30 Sep 2006 14:15:53 GMT]]></title><description><![CDATA[<p>Und jetzt noch &quot;auf C++&quot;: <a href="http://www.boost.org/libs/conversion/lexical_cast.htm" rel="nofollow">boost::lexical_cast</a> und falls Du kein boost hast/haben willst, hier den Quellcode plus Erklärung:</p>
<p><a href="http://www.gotw.ca/publications/mill19.htm" rel="nofollow">http://www.gotw.ca/publications/mill19.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1147027</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1147027</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Sat, 30 Sep 2006 14:15:53 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Sat, 30 Sep 2006 14:20:20 GMT]]></title><description><![CDATA[<p>Hi Konrad,<br />
ist eigentlich lexical_cast oder etwas ähnliches im std::tr1 oder im std::tr2 vorgesehen ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1147029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1147029</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 30 Sep 2006 14:20:20 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Sat, 30 Sep 2006 14:27:45 GMT]]></title><description><![CDATA[<p>Freak_Coder schrieb:</p>
<blockquote>
<p>Hi Konrad,<br />
ist eigentlich lexical_cast oder etwas ähnliches im std::tr1 oder im std::tr2 vorgesehen ???</p>
</blockquote>
<p>Hallo,</p>
<p>ich muss leider zugeben, dass ich keine Ahnung habe. <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="🙂"
    /> Ich habe keine Referenz zu TR1 (steht aber auf meiner &quot;to buy&quot;-Liste). Allerdings sieht es nach dem, was ich in der Dinkumware-Referenz gefunden habe nicht danach aus, dass 'lexical_cast' es schon in TR1 geschafft hat. Was TR2 angeht, habe ich überhaupt keine Ahnung.</p>
<p>Leider ist das aber auch (noch) nicht besonders relevant, da die Unterstützung durch Compilerhersteller bescheiden ist: z.B. sieht es so aus, dass Dinkumware TR1 bereits implementiert, trotzdem wird auch die nächste Version von Visual C++ voraussichtlich noch ohne TR1-Support kommen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1147033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1147033</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Sat, 30 Sep 2006 14:27:45 GMT</pubDate></item><item><title><![CDATA[Reply to Umwandeln in char on Sat, 30 Sep 2006 14:30:55 GMT]]></title><description><![CDATA[<p>Ok... Dann durchforste ich mal die Links aus Artchis Artikel <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1147035</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1147035</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sat, 30 Sep 2006 14:30:55 GMT</pubDate></item></channel></rss>