<?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 Array leeren?]]></title><description><![CDATA[<p>Hallo, gibt es eine Möglichkeit ein String Array zu leeren ohne eine Schleife? Wie ein Char Array mit memset (was ja hier leider nicht funktioniert).</p>
<p>So dass z.B. im folgenden Bsp. nichts ausgegeben wird.</p>
<pre><code class="language-cpp">string test[256];
test[5]=&quot;blubb&quot;;
//leeren von test
cout &lt;&lt; test[5]
</code></pre>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/281320/string-array-leeren</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 19:16:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/281320.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Jan 2011 20:40:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to String Array leeren? on Sun, 30 Jan 2011 20:40:21 GMT]]></title><description><![CDATA[<p>Hallo, gibt es eine Möglichkeit ein String Array zu leeren ohne eine Schleife? Wie ein Char Array mit memset (was ja hier leider nicht funktioniert).</p>
<p>So dass z.B. im folgenden Bsp. nichts ausgegeben wird.</p>
<pre><code class="language-cpp">string test[256];
test[5]=&quot;blubb&quot;;
//leeren von test
cout &lt;&lt; test[5]
</code></pre>
<p>mfg.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2014420</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2014420</guid><dc:creator><![CDATA[Lokia]]></dc:creator><pubDate>Sun, 30 Jan 2011 20:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to String Array leeren? on Sun, 30 Jan 2011 20:51:28 GMT]]></title><description><![CDATA[<p>Frage falsch verstanden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2014422</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2014422</guid><dc:creator><![CDATA[rean]]></dc:creator><pubDate>Sun, 30 Jan 2011 20:51:28 GMT</pubDate></item><item><title><![CDATA[Reply to String Array leeren? on Sun, 30 Jan 2011 20:43:00 GMT]]></title><description><![CDATA[<p>Dafür gibt es <a href="http://www.cplusplus.com/reference/algorithm/fill/" rel="nofollow">std::fill</a>. Dazu das Array mit leeren strings füllen. Und dringend mal über vector statt Arrays nachdenken.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2014423</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2014423</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Sun, 30 Jan 2011 20:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to String Array leeren? on Sun, 30 Jan 2011 20:47:20 GMT]]></title><description><![CDATA[<p>Alles klar, vielen dank!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2014429</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2014429</guid><dc:creator><![CDATA[Lokia]]></dc:creator><pubDate>Sun, 30 Jan 2011 20:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to String Array leeren? on Sun, 30 Jan 2011 20:48:26 GMT]]></title><description><![CDATA[<p><a href="http://cplusplus.com/reference/algorithm/fill_n/" rel="nofollow">http://cplusplus.com/reference/algorithm/fill_n/</a><br />
Wäre wohl ein bisschen einfacher.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2014431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2014431</guid><dc:creator><![CDATA[314159265358979]]></dc:creator><pubDate>Sun, 30 Jan 2011 20:48:26 GMT</pubDate></item></channel></rss>