<?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[Was habe ich an dieser for-schleife falsch gemacht?]]></title><description><![CDATA[<p>Hallo beim compilieren dieses Codes...</p>
<pre><code class="language-cpp">int Zeilen = Memo1-&gt;Lines-&gt;Count;
for(int x; x &lt; Zeilen; x++)
 {
 ReadMeFile-&gt;Add(String(Memo1-&gt;Lines[x]));
 }
</code></pre>
<p>...kommt diese Fehlermeldung...</p>
<blockquote>
<p>[C++ Fehler] Unit1.cpp(42): E2285 Keine Übereinstimmung für 'AnsiString::AnsiString(TStrings)' gefunden<br />
[C++ Fehler] Unit1.cpp(42): E2031 Typumwandlung von 'TStrings' nach 'AnsiString' nicht zulässig</p>
</blockquote>
<p>was habe ich falsch gemacht?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/148674/was-habe-ich-an-dieser-for-schleife-falsch-gemacht</link><generator>RSS for Node</generator><lastBuildDate>Thu, 06 Aug 2026 15:58:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/148674.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 May 2006 11:34:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 11:34:00 GMT]]></title><description><![CDATA[<p>Hallo beim compilieren dieses Codes...</p>
<pre><code class="language-cpp">int Zeilen = Memo1-&gt;Lines-&gt;Count;
for(int x; x &lt; Zeilen; x++)
 {
 ReadMeFile-&gt;Add(String(Memo1-&gt;Lines[x]));
 }
</code></pre>
<p>...kommt diese Fehlermeldung...</p>
<blockquote>
<p>[C++ Fehler] Unit1.cpp(42): E2285 Keine Übereinstimmung für 'AnsiString::AnsiString(TStrings)' gefunden<br />
[C++ Fehler] Unit1.cpp(42): E2031 Typumwandlung von 'TStrings' nach 'AnsiString' nicht zulässig</p>
</blockquote>
<p>was habe ich falsch gemacht?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067284</guid><dc:creator><![CDATA[Login?Nö!]]></dc:creator><pubDate>Mon, 29 May 2006 11:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 11:37:47 GMT]]></title><description><![CDATA[<p>Memo-&gt;Lines hat keinen Index<br />
Memo-&gt;Lines-&gt;Strings[] schon<br />
und die Typeanpassung kannst du dir sparen, das ist schon String</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067289</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067289</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Mon, 29 May 2006 11:37:47 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 11:38:43 GMT]]></title><description><![CDATA[<p>Memo1-&gt;Lines-&gt;Strings[x]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067290</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Mon, 29 May 2006 11:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 12:45:46 GMT]]></title><description><![CDATA[<p>Hallo<br />
ok das programm wird compiliert aber beim ausführen<br />
kommt folgende Fehlermeldung;</p>
<blockquote>
<p>Zugriffsverletzung bei Adresse 004019CC in Modul &quot;abc.exe&quot;. Lesen von Adresse 00000000.</p>
</blockquote>
<p>Was bdeutet das?</p>
<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067339</guid><dc:creator><![CDATA[Login?Nö!]]></dc:creator><pubDate>Mon, 29 May 2006 12:45:46 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 12:50:04 GMT]]></title><description><![CDATA[<p>Wahrscheinlich ein NULL-Zeiger</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067343</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Mon, 29 May 2006 12:50:04 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Mon, 29 May 2006 13:11:23 GMT]]></title><description><![CDATA[<p>Und die Initialisierung von x fehlt m.E..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1067378</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1067378</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 29 May 2006 13:11:23 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Tue, 30 May 2006 14:47:04 GMT]]></title><description><![CDATA[<p>versuche mal:</p>
<pre><code class="language-cpp">int Zeilen = Memo1-&gt;Lines-&gt;Count;
for(int x=0; x &lt; Zeilen; x++)
 {
  ReadMeFile-&gt;Add(Memo1-&gt;Lines-&gt;Strings[x]);
 }
</code></pre>
<p>müsste so gehen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1068149</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1068149</guid><dc:creator><![CDATA[New-Wave]]></dc:creator><pubDate>Tue, 30 May 2006 14:47:04 GMT</pubDate></item><item><title><![CDATA[Reply to Was habe ich an dieser for-schleife falsch gemacht? on Tue, 30 May 2006 15:18:36 GMT]]></title><description><![CDATA[<p>Was ist denn ReadMeFile ?<br />
Vielleicht brauchst du diese Schleife ja auch garnicht ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1068178</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1068178</guid><dc:creator><![CDATA[hell_at_world]]></dc:creator><pubDate>Tue, 30 May 2006 15:18:36 GMT</pubDate></item></channel></rss>