<?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[Array vs. CString (vergleichen)]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte mir ein Array basteln und dann alle gefundenen Arrayelemente,<br />
sobald sie einem vordefiniereten CString im Inhalt entsprechen, ausgeben<br />
lassen.</p>
<p>z.B:<br />
Arraywert1 = &quot;Ball&quot;;<br />
Arraywert2 = &quot;Haus&quot;;<br />
Arraywert3 = &quot;Katze&quot;;<br />
usw.</p>
<p>Nun ist der CString x = &quot;Ball&quot;;</p>
<p>Mein Programm soll also sagen, dass Element1 meines Array mit dem<br />
CString-Wert identisch ist.</p>
<p>Versteht ihr was ich meine?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/183249/array-vs-cstring-vergleichen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 04:05:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/183249.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jun 2007 10:52:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Array vs. CString (vergleichen) on Sun, 03 Jun 2007 10:52:48 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich möchte mir ein Array basteln und dann alle gefundenen Arrayelemente,<br />
sobald sie einem vordefiniereten CString im Inhalt entsprechen, ausgeben<br />
lassen.</p>
<p>z.B:<br />
Arraywert1 = &quot;Ball&quot;;<br />
Arraywert2 = &quot;Haus&quot;;<br />
Arraywert3 = &quot;Katze&quot;;<br />
usw.</p>
<p>Nun ist der CString x = &quot;Ball&quot;;</p>
<p>Mein Programm soll also sagen, dass Element1 meines Array mit dem<br />
CString-Wert identisch ist.</p>
<p>Versteht ihr was ich meine?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1297621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1297621</guid><dc:creator><![CDATA[Warner]]></dc:creator><pubDate>Sun, 03 Jun 2007 10:52:48 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs. CString (vergleichen) on Sun, 03 Jun 2007 11:18:59 GMT]]></title><description><![CDATA[<p>Dann nimm einen CStringArray und vergleiche...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1297639</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1297639</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 03 Jun 2007 11:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs. CString (vergleichen) on Sun, 03 Jun 2007 14:16:40 GMT]]></title><description><![CDATA[<p>Muss ich jetzt also alles einzeln mit .Add hinzufügen??</p>
<p>Also quasi:</p>
<p>CStringArray x;<br />
x.Add(&quot;abc.exe&quot;)<br />
x.Add(&quot;123.exe&quot;);</p>
<p>etc.</p>
<p>Ich hatte gehofft man könnte etwas wie</p>
<pre><code class="language-cpp">CStringArray x = {wert1,wert2,wert3}
</code></pre>
<p>verwenden/angeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1297784</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1297784</guid><dc:creator><![CDATA[Warner]]></dc:creator><pubDate>Sun, 03 Jun 2007 14:16:40 GMT</pubDate></item><item><title><![CDATA[Reply to Array vs. CString (vergleichen) on Mon, 04 Jun 2007 06:04:28 GMT]]></title><description><![CDATA[<p>Ja Du müsst die einzeln hinzufügen. aber wenn es statische Werte sind, warum verwendest Du nicht einen normalen Array?</p>
<pre><code class="language-cpp">const TCHAR *aszValues[] = { _T(&quot;Ball&quot;), _T(&quot;Haus&quot;), _T(&quot;Katze&quot;) };
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1298196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1298196</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 04 Jun 2007 06:04:28 GMT</pubDate></item></channel></rss>