<?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 auf Knopfdruck plattmachen?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab in einem Zeichenprogramm mehrere Linienzüge abgespeichert.<br />
Wenn ich jetzt den Bildschirm lösche, und alle Arrays wieder auf 0 setze, dann malt mir das Programm trotzdem noch ein paar der alten Linien...</p>
<p>Wie kann ich denn so nen Array komplett leerfegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/154067/array-auf-knopfdruck-plattmachen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 12:07:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/154067.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Jul 2006 08:21:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Array auf Knopfdruck plattmachen? on Mon, 24 Jul 2006 08:21:21 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab in einem Zeichenprogramm mehrere Linienzüge abgespeichert.<br />
Wenn ich jetzt den Bildschirm lösche, und alle Arrays wieder auf 0 setze, dann malt mir das Programm trotzdem noch ein paar der alten Linien...</p>
<p>Wie kann ich denn so nen Array komplett leerfegen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102939</guid><dc:creator><![CDATA[Elchsfell]]></dc:creator><pubDate>Mon, 24 Jul 2006 08:21:21 GMT</pubDate></item><item><title><![CDATA[Reply to Array auf Knopfdruck plattmachen? on Mon, 24 Jul 2006 09:21:52 GMT]]></title><description><![CDATA[<p>Indem Du es löscht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1102977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1102977</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 24 Jul 2006 09:21:52 GMT</pubDate></item><item><title><![CDATA[Reply to Array auf Knopfdruck plattmachen? on Mon, 24 Jul 2006 12:00:15 GMT]]></title><description><![CDATA[<p>Probiers mal hiermit:</p>
<pre><code>ProblemArray[0]= '\0'; //Erste Stelle des Arrays
</code></pre>
<p>Gruß<br />
Sven</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1103089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103089</guid><dc:creator><![CDATA[Sveniemenie]]></dc:creator><pubDate>Mon, 24 Jul 2006 12:00:15 GMT</pubDate></item><item><title><![CDATA[Reply to Array auf Knopfdruck plattmachen? on Mon, 24 Jul 2006 12:22:18 GMT]]></title><description><![CDATA[<p>Sveniemenie schrieb:</p>
<blockquote>
<p>Probiers mal hiermit:</p>
<pre><code>ProblemArray[0]= '\0'; //Erste Stelle des Arrays
</code></pre>
<p>Gruß<br />
Sven</p>
</blockquote>
<p>und wenn's das nicht bringt dann:</p>
<pre><code>memset (ProblemArray, 0, sizeof(ProblemArray));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1103110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103110</guid><dc:creator><![CDATA[net 0]]></dc:creator><pubDate>Mon, 24 Jul 2006 12:22:18 GMT</pubDate></item><item><title><![CDATA[Reply to Array auf Knopfdruck plattmachen? on Mon, 24 Jul 2006 15:03:07 GMT]]></title><description><![CDATA[<p>net schrieb:</p>
<blockquote>
<p>und wenn's das nicht bringt dann:</p>
<pre><code class="language-cpp">memset (ProblemArray, 0, sizeof(ProblemArray));
</code></pre>
</blockquote>
<p>Oder gleich</p>
<pre><code class="language-cpp">ZeroMemory(ProblemArray, sizeof(ProblemArray));
</code></pre>
<p>Allerdings frag ich mich noch etwas. Wir sind hier ja auch im MFC Forum. Meinst du ein CArray/CList/CMap? Die müsstest du folgendermasen leeren:</p>
<pre><code class="language-cpp">ProblemArray.RemoveAll();
</code></pre>
<p>Und damit das gezeichnete verschwindet, natürlich noch Invalidate(TRUE) aufrufen, bzw. wenn es über die Doc machst, dann ein UpdateAllViews(NULL).</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1103247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1103247</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Mon, 24 Jul 2006 15:03:07 GMT</pubDate></item></channel></rss>