<?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[eine zahl in einen string schreiben]]></title><description><![CDATA[<p>hi leute,</p>
<p>ich habe folgendes vor. ich habe einen string und eine zahl. ich will die zahl in den string schreiben und hinten an noch einen string schreiben bsp.</p>
<pre><code>int i = 20;
string	buffer;
buffer = i;
buffer += &quot;block&quot;;
</code></pre>
<p>rauskommen soll dann am ende buffer == &quot;20block&quot;. aber konvertiert mir die zahl in ein ascii zeichen um. wie kann ich das verhindern oder gegebenefalls anders lösen?</p>
<p>mfg NwP</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/180464/eine-zahl-in-einen-string-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 19:26:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/180464.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 May 2007 08:48:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to eine zahl in einen string schreiben on Thu, 03 May 2007 08:48:03 GMT]]></title><description><![CDATA[<p>hi leute,</p>
<p>ich habe folgendes vor. ich habe einen string und eine zahl. ich will die zahl in den string schreiben und hinten an noch einen string schreiben bsp.</p>
<pre><code>int i = 20;
string	buffer;
buffer = i;
buffer += &quot;block&quot;;
</code></pre>
<p>rauskommen soll dann am ende buffer == &quot;20block&quot;. aber konvertiert mir die zahl in ein ascii zeichen um. wie kann ich das verhindern oder gegebenefalls anders lösen?</p>
<p>mfg NwP</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1277975</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1277975</guid><dc:creator><![CDATA[NwP]]></dc:creator><pubDate>Thu, 03 May 2007 08:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to eine zahl in einen string schreiben on Thu, 03 May 2007 08:51:28 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Siehe FAQ <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39488.html" rel="nofollow">Einmal Zahl nach String und zurück</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1277976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1277976</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Thu, 03 May 2007 08:51:28 GMT</pubDate></item></channel></rss>