<?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[Anfängerfrage: Ausgabe über Textfeld]]></title><description><![CDATA[<p>hallo<br />
ich möchte in einer for-Schleife die werte aus 2 arays in einem textfeld ausgeben. das funktioniert so weit auch aber bei jedem neuen durchgang springt die positionierung wieder an den anfang des textfldes zurück sodas die eintrage immer wieder überschriebne werden und ich am ende nur das letze feldelement auf dem bildschrim habe. Hier mal mein code:</p>
<p>for(i=1; i&lt;=10; i++)<br />
{<br />
UpdateData(true);<br />
m_textraus.Format(&quot;%i %i \n&quot;, Xfeld[i], Yfeld[i]);<br />
UpdateData(false);<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/172210/anfängerfrage-ausgabe-über-textfeld</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 21:07:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/172210.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Feb 2007 12:42:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfängerfrage: Ausgabe über Textfeld on Fri, 02 Feb 2007 12:42:42 GMT]]></title><description><![CDATA[<p>hallo<br />
ich möchte in einer for-Schleife die werte aus 2 arays in einem textfeld ausgeben. das funktioniert so weit auch aber bei jedem neuen durchgang springt die positionierung wieder an den anfang des textfldes zurück sodas die eintrage immer wieder überschriebne werden und ich am ende nur das letze feldelement auf dem bildschrim habe. Hier mal mein code:</p>
<p>for(i=1; i&lt;=10; i++)<br />
{<br />
UpdateData(true);<br />
m_textraus.Format(&quot;%i %i \n&quot;, Xfeld[i], Yfeld[i]);<br />
UpdateData(false);<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1221711</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221711</guid><dc:creator><![CDATA[asdfsadf]]></dc:creator><pubDate>Fri, 02 Feb 2007 12:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage: Ausgabe über Textfeld on Fri, 02 Feb 2007 12:49:06 GMT]]></title><description><![CDATA[<p>Wenn du alle Werte zusammen ausgeben willst, mußt du dir den Ausgabestring stückweise zusammensetzen, z.B.:</p>
<pre><code class="language-cpp">CString value;
for(i=0;i&lt;=10;++i)//Anmerkung: Ich hoffe, du hast wirklich ein Element XFeld[10]
{
  value.Format(&quot;%i %i\n&quot;,XFeld[i],YFeld[i]);
  m_textraus+=value;
}
UpdateData(FALSE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1221715</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1221715</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 02 Feb 2007 12:49:06 GMT</pubDate></item></channel></rss>