<?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[Frage]]></title><description><![CDATA[<p>Hi Leute,<br />
ich bin noch ziemlich neu in c++ und habe auch schon ein paar kleiner Programme geschrieben und jetzt habe ich vor alle &quot;Kombinationen&quot; eines Wortes ausgeben zu lassen. Nehmen wir mal das Wort &quot;Wort&quot;. Dann sollte ausgegeben werden:<br />
Wort<br />
Wotr<br />
Wtro<br />
Wtor<br />
...<br />
...<br />
usw.</p>
<p>Mir geht es daraum ob es eine &quot; Mechanik&quot; oder vielleicht sogar eine Funktion gibt die das erledigt. Viele Grüße!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/278315/frage</link><generator>RSS for Node</generator><lastBuildDate>Tue, 25 Aug 2026 07:24:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/278315.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Dec 2010 07:43:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage on Sat, 04 Dec 2010 07:43:32 GMT]]></title><description><![CDATA[<p>Hi Leute,<br />
ich bin noch ziemlich neu in c++ und habe auch schon ein paar kleiner Programme geschrieben und jetzt habe ich vor alle &quot;Kombinationen&quot; eines Wortes ausgeben zu lassen. Nehmen wir mal das Wort &quot;Wort&quot;. Dann sollte ausgegeben werden:<br />
Wort<br />
Wotr<br />
Wtro<br />
Wtor<br />
...<br />
...<br />
usw.</p>
<p>Mir geht es daraum ob es eine &quot; Mechanik&quot; oder vielleicht sogar eine Funktion gibt die das erledigt. Viele Grüße!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1989706</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1989706</guid><dc:creator><![CDATA[Killur]]></dc:creator><pubDate>Sat, 04 Dec 2010 07:43:32 GMT</pubDate></item><item><title><![CDATA[Reply to Frage on Sat, 04 Dec 2010 08:03:12 GMT]]></title><description><![CDATA[<p>sowas nennt sich permutation. guck mal bei <a href="http://www.cplusplus.com/reference/string/string/" rel="nofollow">http://www.cplusplus.com/reference/string/string/</a> (als datenkontainer) oder hier im forum bei <a href="http://www.c-plusplus.net/forum/178286" rel="nofollow">http://www.c-plusplus.net/forum/178286</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1989707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1989707</guid><dc:creator><![CDATA[padreigh]]></dc:creator><pubDate>Sat, 04 Dec 2010 08:03:12 GMT</pubDate></item><item><title><![CDATA[Reply to Frage on Sat, 04 Dec 2010 08:28:53 GMT]]></title><description><![CDATA[<p>Ok thx, ich habe es mal damit versucht:</p>
<pre><code>// Calculate Permutations - using STL Algorithms 
#include &lt;iostream&gt; 
#include &lt;algorithm&gt; 

int main() 
{ 
    char f[] = { 'A', 'B', 'C' }, *const fn = f + sizeof(f) / sizeof(*f); 
    unsigned int i = 0; 

    do 
    { 
        std::cout &lt;&lt; ++i &lt;&lt; &quot;. Permutation: &quot;; 
        copy(f, fn, std::ostream_iterator&lt;char&gt;(std::cout, &quot; &quot;)); 
        std::cout &lt;&lt; std::endl; 
    } 
    while(std::next_permutation(f, fn)); 

    return 0; 
}
</code></pre>
<p>Aber dann kommt die Fehlermeldung:<br />
`ostream_iterator' is not a member of `std'</p>
<p>wieso geht das nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1989710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1989710</guid><dc:creator><![CDATA[Killur]]></dc:creator><pubDate>Sat, 04 Dec 2010 08:28:53 GMT</pubDate></item><item><title><![CDATA[Reply to Frage on Sat, 04 Dec 2010 09:00:19 GMT]]></title><description><![CDATA[<p>Da fehlt noch ein Header. Google hilft dir weiter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1989716</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1989716</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Sat, 04 Dec 2010 09:00:19 GMT</pubDate></item></channel></rss>