<?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[Zahlen in String wandeln]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich habe verschiedene Nummer-Datentypen, wie z.b. unsigned char oder int. Nun möchte ich diese in einen String wandeln. Gibt es dazu eine einfache Lösung?</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/275358/zahlen-in-string-wandeln</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 01:50:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/275358.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Oct 2010 13:13:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:13:26 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich habe verschiedene Nummer-Datentypen, wie z.b. unsigned char oder int. Nun möchte ich diese in einen String wandeln. Gibt es dazu eine einfache Lösung?</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1964998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1964998</guid><dc:creator><![CDATA[knubel]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:18:05 GMT]]></title><description><![CDATA[<p>NE, das musst du selbst zurechtknubbeln ... alternativ hilft dir ein forscher Blick in die FAQ des c++ teils dieses Forums ... oder die Forumsuche, oder google ....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965002</guid><dc:creator><![CDATA[padreigh]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:18:31 GMT]]></title><description><![CDATA[<p>knubel schrieb:</p>
<blockquote>
<p>Gibt es dazu eine einfache Lösung?</p>
</blockquote>
<p>Ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965003</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965003</guid><dc:creator><![CDATA[Ja]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:21:33 GMT]]></title><description><![CDATA[<p>Könnte mir jemand ein Beispiel für eine solche Lösung geben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965007</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965007</guid><dc:creator><![CDATA[knubel]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:21:33 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:24:46 GMT]]></title><description><![CDATA[<p>knubel schrieb:</p>
<blockquote>
<p>Könnte mir jemand ein Beispiel für eine solche Lösung geben?</p>
</blockquote>
<p>Ja. Die FAQ, Google, Forensuche. Alle können das.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965009</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965009</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:24:46 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:25:30 GMT]]></title><description><![CDATA[<p>Das kann doch nicht wahr sein, fast 10 Minuten sind seit deiner Frage vergangen.<br />
Was hast du in der Zwischenzeit gemacht?<br />
<a href="http://www.lmgtfy.com/?q=int+into+std%3A%3Astring" rel="nofollow">http://www.lmgtfy.com/?q=int+into+std%3A%3Astring</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965010</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965010</guid><dc:creator><![CDATA[Vicious Falcon]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 13:27:53 GMT]]></title><description><![CDATA[<p>Die Lösung (nicht nur für dieses Problem) ist folgende:</p>
<ol>
<li>Überlege dir, ob diese Frage wohl häufig vorkommt.</li>
<li>Ist die Antwort nein, dann gehe zu 10)</li>
<li>Überlege dir, was wohl ein geeigneter Bereich für häufig gestellte Fragen sei könnte (Tip: auf englisch heißt das <strong>F</strong>requently <strong>a</strong>sked <strong>q</strong>uestion.)</li>
<li>Suche den entsprechenden Bereich des Forums auf</li>
<li>Existiert dort ein Thread zu deinem Thema?</li>
<li>NUR Falls nein, gehe zu 10)</li>
<li>Lies den gefundenen Thread. Beantwortet er deine Frage?</li>
<li>NUR Falls nein, gehe zu 10)</li>
<li>Andernfalls hast du deine Antwort jetzt gefunden. War doch garnicht so schwer...</li>
<li>JETZT darfst du gerne fragen, aber nicht vergessen zu bemerken, dass du die FAQ bereits durchsucht hast bzw. nicht glaubst dass dein Problem eine FAQ ist. Einfach um zu zeigen dass du auch Eigeninitiative besitzt und nicht einfach deine Fragen hier im Forum &quot;ablädst&quot;. Siehe auch Link in meiner Signatur (den du aber bestimmt schon durchgelesen hast oder?)</li>
</ol>
]]></description><link>https://www.c-plusplus.net/forum/post/1965013</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965013</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Wed, 13 Oct 2010 13:27:53 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 18:50:21 GMT]]></title><description><![CDATA[<p>such google: #include &lt;stringstream&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965198</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965198</guid><dc:creator><![CDATA[CCodex]]></dc:creator><pubDate>Wed, 13 Oct 2010 18:50:21 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 19:02:38 GMT]]></title><description><![CDATA[<p>gamebuntu schrieb:</p>
<blockquote>
<p>such google: #include &lt;stringstream&gt;</p>
</blockquote>
<p>Seit wann gibts denn das Header File stringstream? Selbstgemacht? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f576.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--sunglasses"
      title=":sunglasses:"
      alt="🕶"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965208</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965208</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Wed, 13 Oct 2010 19:02:38 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 20:43:30 GMT]]></title><description><![CDATA[<p>Versuch mal die Funktionen itoa / _itoa / _itoa_s (sind alle gleich zu bedienen)<br />
itoa(int zahl, char *ausgabestring, int zahlensystem) (dezimal=10)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965252</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965252</guid><dc:creator><![CDATA[TheShadowAE]]></dc:creator><pubDate>Wed, 13 Oct 2010 20:43:30 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Wed, 13 Oct 2010 23:29:42 GMT]]></title><description><![CDATA[<p>TheShadowAE schrieb:</p>
<blockquote>
<p>Versuch mal die Funktionen itoa / _itoa / _itoa_s (sind alle gleich zu bedienen)<br />
itoa(int zahl, char *ausgabestring, int zahlensystem) (dezimal=10)</p>
</blockquote>
<p>Hm, auf der einen Seite wird Anfängern immer empfohlen möglichst nicht C++ und C zu vermischen, auf der anderen Seite empfiehlt man ihnen dann Funktionen der C-Library?</p>
<p>Warum itoa etc. wenns stringstreams gibt?<br />
Also wenn das googeln immernoch nicht geklappt hat: <a href="http://www.cplusplus.com/reference/iostream/stringstream/" rel="nofollow">stringstream</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965314</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965314</guid><dc:creator><![CDATA[inter2k3]]></dc:creator><pubDate>Wed, 13 Oct 2010 23:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 08:13:37 GMT]]></title><description><![CDATA[<p>ne ich hab mich verschrieben ich mein #include &lt;sstream&gt; die funktionen heißen istringstream und ostringstream <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1965397</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965397</guid><dc:creator><![CDATA[CCodex]]></dc:creator><pubDate>Thu, 14 Oct 2010 08:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 09:31:22 GMT]]></title><description><![CDATA[<p>edit: Hier hätte ich nochmal lesen sollen vorm Abschicken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965426</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965426</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 14 Oct 2010 09:31:22 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 09:26:32 GMT]]></title><description><![CDATA[<p>Hä? Weder istringstream noch ostringstream sind im Standard als veraltet markiert. Woher hast du denn jetzt diese Idee?</p>
<p>Übrigens handelt es sich bei beiden nicht um Funktionen, sondern um Klassen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965428</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965428</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Thu, 14 Oct 2010 09:26:32 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 09:26:44 GMT]]></title><description><![CDATA[<p>Hättest Du dazu eine Quelle?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965429</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965429</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Thu, 14 Oct 2010 09:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 09:30:56 GMT]]></title><description><![CDATA[<p>Argh! 'Tschuldigung. Zu schnell gelesen und ostrstream und istrstream gesehen. Die ausgeschriebene Variante ist natürlich ganz legal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965433</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965433</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 14 Oct 2010 09:30:56 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 10:04:57 GMT]]></title><description><![CDATA[<p>hier sind Quellen zu den Klassen:<br />
<a href="http://www.cplusplus.com/reference/iostream/istringstream/" rel="nofollow">http://www.cplusplus.com/reference/iostream/istringstream/</a><br />
<a href="http://www.cplusplus.com/reference/iostream/ostringstream/" rel="nofollow">http://www.cplusplus.com/reference/iostream/ostringstream/</a><br />
<a href="http://www.willemer.de/informatik/cpp/string.htm" rel="nofollow">http://www.willemer.de/informatik/cpp/string.htm</a></p>
<p>das müsste dich weiter bringen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1965450</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965450</guid><dc:creator><![CDATA[CCodex]]></dc:creator><pubDate>Thu, 14 Oct 2010 10:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to Zahlen in String wandeln on Thu, 14 Oct 2010 10:20:05 GMT]]></title><description><![CDATA[<p>inter2k3 schrieb:</p>
<blockquote>
<p>TheShadowAE schrieb:</p>
<blockquote>
<p>Versuch mal die Funktionen itoa / _itoa / _itoa_s (sind alle gleich zu bedienen)<br />
itoa(int zahl, char *ausgabestring, int zahlensystem) (dezimal=10)</p>
</blockquote>
<p>Hm, auf der einen Seite wird Anfängern immer empfohlen möglichst nicht C++ und C zu vermischen, auf der anderen Seite empfiehlt man ihnen dann Funktionen der C-Library?</p>
<p>Warum itoa etc. wenns stringstreams gibt?</p>
</blockquote>
<p>Berechtigte Frage - da hat der Vorposter wohl zu helfen versucht (löblich) aber leider mit den falschen Mitteln <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/1965456</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1965456</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Thu, 14 Oct 2010 10:20:05 GMT</pubDate></item></channel></rss>