<?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[String Probleme]]></title><description><![CDATA[<p>Hallo,</p>
<p>wenn ich in einer Funktion folgendes deklariere:</p>
<pre><code class="language-cpp">char i_round1[27] = {'A','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char i_round2[11] = {'0','0','1','2','3','4','5','6','7','8','9'};
</code></pre>
<p>und dann danach eine MessageBox(i_round2); aufrufe, habe ich dort alles drinstehen, solwohl die Zeichen aus i_round1 als auch aus i_round2 und so komische hyroglyphen.</p>
<p>Kann mir einer helfen, warum das so ist?</p>
<p>Gruß</p>
<p>Ocrana</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51241/string-probleme</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 12:24:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51241.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Oct 2003 12:18:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to String Probleme on Wed, 08 Oct 2003 12:18:12 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wenn ich in einer Funktion folgendes deklariere:</p>
<pre><code class="language-cpp">char i_round1[27] = {'A','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
char i_round2[11] = {'0','0','1','2','3','4','5','6','7','8','9'};
</code></pre>
<p>und dann danach eine MessageBox(i_round2); aufrufe, habe ich dort alles drinstehen, solwohl die Zeichen aus i_round1 als auch aus i_round2 und so komische hyroglyphen.</p>
<p>Kann mir einer helfen, warum das so ist?</p>
<p>Gruß</p>
<p>Ocrana</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368279</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368279</guid><dc:creator><![CDATA[Ocrana]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:18:12 GMT</pubDate></item><item><title><![CDATA[Reply to String Probleme on Wed, 08 Oct 2003 12:21:14 GMT]]></title><description><![CDATA[<p>den &quot;string&quot; mit '\0' am Ende terminieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368285</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368285</guid><dc:creator><![CDATA[MuehBln]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to String Probleme on Wed, 08 Oct 2003 12:21:26 GMT]]></title><description><![CDATA[<p>Weil die MessageBox von nullterminierten Zeichenketten ausgeht, d.h. sie gibt aus, bis sie auf ein Nullzeichen '\0' trifft. So eins hast du nicht, also wird solange ausgegeben, bis irgendwo im Speicher zufällig eins steht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368286</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368286</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to String Probleme on Wed, 08 Oct 2003 12:34:04 GMT]]></title><description><![CDATA[<p>Funktioniert. Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/368304</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/368304</guid><dc:creator><![CDATA[Ocrana]]></dc:creator><pubDate>Wed, 08 Oct 2003 12:34:04 GMT</pubDate></item></channel></rss>