<?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[Char Array in Integer umwandeln?]]></title><description><![CDATA[<p>Wie ihr bereits im Titel lesen konntet, würde ich gerne wissen wie man ein Char Array in Integer umwandeln kann?<br />
MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/210217/char-array-in-integer-umwandeln</link><generator>RSS for Node</generator><lastBuildDate>Tue, 13 Oct 2026 09:24:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/210217.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Apr 2008 16:19:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Char Array in Integer umwandeln? on Tue, 08 Apr 2008 16:19:49 GMT]]></title><description><![CDATA[<p>Wie ihr bereits im Titel lesen konntet, würde ich gerne wissen wie man ein Char Array in Integer umwandeln kann?<br />
MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488629</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488629</guid><dc:creator><![CDATA[OneMoreTime]]></dc:creator><pubDate>Tue, 08 Apr 2008 16:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to Char Array in Integer umwandeln? on Tue, 08 Apr 2008 16:37:30 GMT]]></title><description><![CDATA[<p>&quot;123456&quot; -&gt; 123456<br />
Meinst du so ungefähr?<br />
Dann wäre sscanf interessant:</p>
<pre><code class="language-cpp">...
char Array[]=&quot;1234&quot;;
int Zahl;
sscanf(Array,&quot;%i&quot;,&amp;Zahl);
...
</code></pre>
<p>PS: pass aber auf dass die Zahl nicht den Speicher überschreitet! zB &quot;123456789123456789123456789123456798123456789123456789123456789&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488637</guid><dc:creator><![CDATA[Blaze]]></dc:creator><pubDate>Tue, 08 Apr 2008 16:37:30 GMT</pubDate></item><item><title><![CDATA[Reply to Char Array in Integer umwandeln? on Tue, 08 Apr 2008 16:41:56 GMT]]></title><description><![CDATA[<p>siehe FAQ<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39488.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39488.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1488639</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488639</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 08 Apr 2008 16:41:56 GMT</pubDate></item><item><title><![CDATA[Reply to Char Array in Integer umwandeln? on Tue, 08 Apr 2008 17:23:51 GMT]]></title><description><![CDATA[<p>oder falls du binär gesehen meinst (je nach prozessor musst du die bytes drehen):</p>
<pre><code class="language-cpp">union carr2zahl {
   char zeichen[4];
   int  zahl; 
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1488665</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1488665</guid><dc:creator><![CDATA[DaRpH]]></dc:creator><pubDate>Tue, 08 Apr 2008 17:23:51 GMT</pubDate></item></channel></rss>