<?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[Dictionary]]></title><description><![CDATA[<p>Hi,</p>
<p>ich brauche ein Programm oder den Code für ein Programm was mir eine Dictionary erstellt. Es soll Zeichenketten von minimal 5 bis maximal 10 Zeichen erstellen, plus Sonderzeichen, Klein-GroßBuchstaben und Zahlen. Die Ausgabe soll in einer Texdatei gespeichert werden.<br />
Das ganz soll in etwa dann so aussehen:<br />
aaaaaa<br />
aaaaaaa<br />
aaaaaaaa<br />
..........<br />
...........<br />
.........</p>
<p>Hab mal so ein Programm gehabt, leider nicht mehr wieder gefunden.<br />
War stumpf in c++ programmiert und ne Konsolenanwendung.</p>
<p>Danköö</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/172764/dictionary</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 01:51:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/172764.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Feb 2007 09:39:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dictionary on Thu, 08 Feb 2007 09:39:58 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich brauche ein Programm oder den Code für ein Programm was mir eine Dictionary erstellt. Es soll Zeichenketten von minimal 5 bis maximal 10 Zeichen erstellen, plus Sonderzeichen, Klein-GroßBuchstaben und Zahlen. Die Ausgabe soll in einer Texdatei gespeichert werden.<br />
Das ganz soll in etwa dann so aussehen:<br />
aaaaaa<br />
aaaaaaa<br />
aaaaaaaa<br />
..........<br />
...........<br />
.........</p>
<p>Hab mal so ein Programm gehabt, leider nicht mehr wieder gefunden.<br />
War stumpf in c++ programmiert und ne Konsolenanwendung.</p>
<p>Danköö</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1224920</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1224920</guid><dc:creator><![CDATA[Deichkind]]></dc:creator><pubDate>Thu, 08 Feb 2007 09:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to Dictionary on Thu, 08 Feb 2007 09:45:28 GMT]]></title><description><![CDATA[<p>Du kannst dir rekursiv alle Wörter zusammenstellen und ausgeben:</p>
<pre><code class="language-cpp">string zeichen = &quot;abcdefg&quot;;//hier alle Zeichen einfügen, die für deine &quot;Wörter&quot; erlaubt sind

void create(ostream&amp; target, int min_len,int max_len,string tmp=&quot;&quot;)
{
  if(tmp.length()&gt;=min_len) target&lt;&lt;tmp&lt;&lt;endl;
  if(tmp.length()&lt;max_len) for(size_t i=0;i&lt;zeichen.length();++i)
    create(target,min_len,max_len,tmp+zeichen[i]);
}

...
ofstream file(&quot;dict.txt&quot;);
create(file,5,10);
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1224923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1224923</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 08 Feb 2007 09:45:28 GMT</pubDate></item><item><title><![CDATA[Reply to Dictionary on Thu, 08 Feb 2007 17:54:07 GMT]]></title><description><![CDATA[<p>kannst du mir den kompletten code mal schicken?^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1225223</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1225223</guid><dc:creator><![CDATA[Deichkind]]></dc:creator><pubDate>Thu, 08 Feb 2007 17:54:07 GMT</pubDate></item><item><title><![CDATA[Reply to Dictionary on Fri, 09 Feb 2007 07:18:09 GMT]]></title><description><![CDATA[<p>Nein, kann ich nicht (das obige habe ich auch nur auf die Schnelle zusammengeschustert) - aber du hast meine Genehmigung, das Programmfragment dort^ zu nehmen und zu einem kompletten Programm auszubauen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1225441</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1225441</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 09 Feb 2007 07:18:09 GMT</pubDate></item></channel></rss>