<?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[[SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum?]]></title><description><![CDATA[<p>Ich versuche gerade, ein Algorytmus Beispiel aus einer Vorlesung (dor wird JAVA verwendet) in C++ umzusetzen. Hoffe ich bin in der richtigen Rubrik gelandet.</p>
<p>Der Code wird auch anstandslos copiliert, aber stürzt bei der ausführung ab.<br />
Der Debugger wirft mir bei Zeile 14 einen SIGSEGV aus.</p>
<p>Frage: warum?</p>
<p>Vieleicht sehe ich den Fehler vor laute code wieder mal nicht also zerreist mich nicht gleich :). Hier mal das Programm.</p>
<pre><code>#include &lt;iostream&gt;

int main() // int argc, char* argv[])
{
    int index, childs, nouns;

    std::cout &lt;&lt; &quot;Gib die Anzahl der Kinder ein die am Abzaehlreim teilnehmen : &quot;;
    std::cin &gt;&gt; childs;
    std::cin.get();
    std::cout &lt;&lt; &quot;Gib die Anzahl der Silben an die verwendet werden sollen : &quot;;
    std::cin &gt;&gt; nouns;
    std::cin.get();

    std::cout &lt;&lt; std::endl &lt;&lt; &quot;Es nehmen &quot; &lt;&lt; childs &lt;&lt; &quot; Kinder teil und es werden &quot; &lt;&lt; nouns &lt;&lt; &quot; Silben verwendet&quot; &lt;&lt; std::endl &lt;&lt; std::endl;

    int indizes[childs];

    for(int i = 0; i &lt; childs; i++)
    {
        indizes[i] = i + 1 % childs;
    }

    index = childs - 1;

    while(index != indizes[index])
    {
        for(int i = 0; i &lt; nouns - 1; i++)
        {
            index = indizes[index];
        }
        std::cout &lt;&lt; &quot;Raus ist &quot; &lt;&lt; indizes[index] &lt;&lt; std::endl;
        indizes[index] = indizes[indizes[index&rsqb;&rsqb;;
    }

    std::cout &lt;&lt; std::endl &lt;&lt; &quot;Uebrig bleibt &quot; &lt;&lt; index &lt;&lt; std::endl &lt;&lt; std::endl;

    std::cout &lt;&lt; &quot;Druecke \'Return\' zum beenden.&quot; &lt;&lt; std::endl;
    std::cin.get();
    std::cin.get();

    return 0;
}
</code></pre>
<p>Compier Ausgabe:<br />
-------------- Build: Debug in Counting_Out_Rhyme (compiler: GNU GCC Compiler)---------------</p>
<p>mingw32-g++.exe -Wall -fexceptions -g -Wfloat-equal -Winline -Wunreachable-code -Wswitch-enum -Wswitch-default -Weffc++ -std=c++0x -Wextra -Wall -g -c &quot;D:\Eigene Dokumente\CodeBlocls\Counting_Out_Rhyme\Counting_Out_Rhyme.cpp&quot; -o Objects\Counting_Out_Rhyme.o<br />
mingw32-g++.exe -o Debug\Counting_Out_Rhyme.exe Objects\Counting_Out_Rhyme.o -static-libgcc -static-libstdc++<br />
Output size is 1.26 MB<br />
Process terminated with status 0 (0 minutes, 0 seconds)<br />
0 errors, 0 warnings (0 minutes, 0 seconds)</p>
<p>Debugger Ausgabe:<br />
Registered new type: wxString<br />
Registered new type: STL String<br />
Registered new type: STL Vector<br />
Setting breakpoints<br />
Debugger name and version: GNU gdb 6.8<br />
Child process PID: 14564<br />
Program received signal SIGSEGV, Segmentation fault.<br />
At D:\Eigene Dokumente\CodeBlocls\Counting_Out_Rhyme\Counting_Out_Rhyme.cpp:14</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/313553/solved-abzählreim-programm-produziert-sigsegv-aber-warum</link><generator>RSS for Node</generator><lastBuildDate>Sun, 02 Aug 2026 03:55:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/313553.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Feb 2013 09:49:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:25:00 GMT]]></title><description><![CDATA[<p>Ich versuche gerade, ein Algorytmus Beispiel aus einer Vorlesung (dor wird JAVA verwendet) in C++ umzusetzen. Hoffe ich bin in der richtigen Rubrik gelandet.</p>
<p>Der Code wird auch anstandslos copiliert, aber stürzt bei der ausführung ab.<br />
Der Debugger wirft mir bei Zeile 14 einen SIGSEGV aus.</p>
<p>Frage: warum?</p>
<p>Vieleicht sehe ich den Fehler vor laute code wieder mal nicht also zerreist mich nicht gleich :). Hier mal das Programm.</p>
<pre><code>#include &lt;iostream&gt;

int main() // int argc, char* argv[])
{
    int index, childs, nouns;

    std::cout &lt;&lt; &quot;Gib die Anzahl der Kinder ein die am Abzaehlreim teilnehmen : &quot;;
    std::cin &gt;&gt; childs;
    std::cin.get();
    std::cout &lt;&lt; &quot;Gib die Anzahl der Silben an die verwendet werden sollen : &quot;;
    std::cin &gt;&gt; nouns;
    std::cin.get();

    std::cout &lt;&lt; std::endl &lt;&lt; &quot;Es nehmen &quot; &lt;&lt; childs &lt;&lt; &quot; Kinder teil und es werden &quot; &lt;&lt; nouns &lt;&lt; &quot; Silben verwendet&quot; &lt;&lt; std::endl &lt;&lt; std::endl;

    int indizes[childs];

    for(int i = 0; i &lt; childs; i++)
    {
        indizes[i] = i + 1 % childs;
    }

    index = childs - 1;

    while(index != indizes[index])
    {
        for(int i = 0; i &lt; nouns - 1; i++)
        {
            index = indizes[index];
        }
        std::cout &lt;&lt; &quot;Raus ist &quot; &lt;&lt; indizes[index] &lt;&lt; std::endl;
        indizes[index] = indizes[indizes[index&rsqb;&rsqb;;
    }

    std::cout &lt;&lt; std::endl &lt;&lt; &quot;Uebrig bleibt &quot; &lt;&lt; index &lt;&lt; std::endl &lt;&lt; std::endl;

    std::cout &lt;&lt; &quot;Druecke \'Return\' zum beenden.&quot; &lt;&lt; std::endl;
    std::cin.get();
    std::cin.get();

    return 0;
}
</code></pre>
<p>Compier Ausgabe:<br />
-------------- Build: Debug in Counting_Out_Rhyme (compiler: GNU GCC Compiler)---------------</p>
<p>mingw32-g++.exe -Wall -fexceptions -g -Wfloat-equal -Winline -Wunreachable-code -Wswitch-enum -Wswitch-default -Weffc++ -std=c++0x -Wextra -Wall -g -c &quot;D:\Eigene Dokumente\CodeBlocls\Counting_Out_Rhyme\Counting_Out_Rhyme.cpp&quot; -o Objects\Counting_Out_Rhyme.o<br />
mingw32-g++.exe -o Debug\Counting_Out_Rhyme.exe Objects\Counting_Out_Rhyme.o -static-libgcc -static-libstdc++<br />
Output size is 1.26 MB<br />
Process terminated with status 0 (0 minutes, 0 seconds)<br />
0 errors, 0 warnings (0 minutes, 0 seconds)</p>
<p>Debugger Ausgabe:<br />
Registered new type: wxString<br />
Registered new type: STL String<br />
Registered new type: STL Vector<br />
Setting breakpoints<br />
Debugger name and version: GNU gdb 6.8<br />
Child process PID: 14564<br />
Program received signal SIGSEGV, Segmentation fault.<br />
At D:\Eigene Dokumente\CodeBlocls\Counting_Out_Rhyme\Counting_Out_Rhyme.cpp:14</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295899</guid><dc:creator><![CDATA[Videonauth]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 09:54:53 GMT]]></title><description><![CDATA[<p>Du hast doch bestimmt schon mit dem Debugger geprüft, welche Zeile für den Fehler verantwortlich ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295900</guid><dc:creator><![CDATA[daddy_felix]]></dc:creator><pubDate>Mon, 04 Feb 2013 09:54:53 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 09:56:08 GMT]]></title><description><![CDATA[<p>Compilerwarnungen höher drehen. Bei mir heisst es z.B.:</p>
<pre><code>test.cc:16:23: warning: ISO C++ forbids variable length array ‘indizes’ [-Wvla]
</code></pre>
<p>Schau noch mal in Deine C++ Unterlagen, wie das ist mit dynamischen Arrays, bzw. deren Alternative <code>std::vector&lt;&gt;</code> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295901</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295901</guid><dc:creator><![CDATA[Furble Wurble]]></dc:creator><pubDate>Mon, 04 Feb 2013 09:56:08 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:00:53 GMT]]></title><description><![CDATA[<pre><code>int indizes[childs];
</code></pre>
<p>Dieses hier solltest du mal versuchen zu ändern in</p>
<pre><code>int *indizes = new int[ childs ];
</code></pre>
<p>Um Speicherlecks zu vermeiden solltest du dann, wenn du das Array nicht mehr brauchst, den Speicher wieder freigeben mit</p>
<pre><code>delete [] indizes;
</code></pre>
<p>Anmerkung: Der Plural von &quot;Child&quot; ist &quot;Children&quot; <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295903</guid><dc:creator><![CDATA[It0101]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:00:53 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:02:08 GMT]]></title><description><![CDATA[<p>i + 1 % childs</p>
<p>Das liest der Compiler als<br />
i + (1 % childs)</p>
<p>du willst aber vermutlich</p>
<p>(i % childs)+1</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295904</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:02:08 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:04:11 GMT]]></title><description><![CDATA[<p>It0101 schrieb:</p>
<blockquote>
<pre><code>int indizes[childs];
</code></pre>
<p>Dieses hier solltest du mal versuchen zu ändern in</p>
<pre><code>int *indizes = new int[ childs ];
</code></pre>
</blockquote>
<p>wenn schon ändern, dann bitte in std::vector. Ich sehe keinen Grund, hier new/delete reinzubringen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295906</guid><dc:creator><![CDATA[daddy_felix]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:04:11 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:05:18 GMT]]></title><description><![CDATA[<p>Ah: Moment... die Compilerausgaben waren vorher nicht da, oder?!<br />
<a href="http://www.c-plusplus.net/forum/304133" rel="nofollow">Den richtigen Code posten....</a> gelesen, was? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Nimm noch den <code>-pedantic</code> Schalter dazu!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295907</guid><dc:creator><![CDATA[Furble Wurble]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:05:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:06:44 GMT]]></title><description><![CDATA[<p>Furble Wurble schrieb:</p>
<blockquote>
<p>Compilerwarnungen höher drehen. Bei mir heisst es z.B.:</p>
<pre><code>test.cc:16:23: warning: ISO C++ forbids variable length array ‘indizes’ [-Wvla]
</code></pre>
<p>Schau noch mal in Deine C++ Unterlagen, wie das ist mit dynamischen Arrays, bzw. deren Alternative <code>std::vector&lt;&gt;</code> .</p>
</blockquote>
<p>It0101 schrieb:</p>
<blockquote>
<pre><code>int indizes[childs];
</code></pre>
<p>Dieses hier solltest du mal versuchen zu ändern in</p>
<pre><code>int *indizes = new int[ childs ];
</code></pre>
<p>Um Speicherlecks zu vermeiden solltest du dann, wenn du das Array nicht mehr brauchst, den Speicher wieder freigeben mit</p>
<pre><code>delete [] indizes;
</code></pre>
<p>Anmerkung: Der Plural von &quot;Child&quot; ist &quot;Children&quot; <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
</blockquote>
<p>Irrelevant weil der GCC VLA kennt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295909</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295909</guid><dc:creator><![CDATA[Ethon]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:16:18 GMT]]></title><description><![CDATA[<p>Shade Of Mine schrieb:</p>
<blockquote>
<p>i + 1 % childs</p>
<p>Das liest der Compiler als<br />
i + (1 % childs)</p>
<p>du willst aber vermutlich</p>
<p>(i % childs)+1</p>
</blockquote>
<p>Nicht ganz, er will (i+1) % childs. Und dann klappt das ganze auch...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295911</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295911</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:16:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:23:15 GMT]]></title><description><![CDATA[<p>Skym0sh0 schrieb:</p>
<blockquote>
<p>Shade Of Mine schrieb:</p>
<blockquote>
<p>i + 1 % childs</p>
<p>Das liest der Compiler als<br />
i + (1 % childs)</p>
<p>du willst aber vermutlich</p>
<p>(i % childs)+1</p>
</blockquote>
<p>Nicht ganz, er will (i+1) % childs. Und dann klappt das ganze auch...</p>
</blockquote>
<p>Exakt das wars, der Tafelanschrieb war nicht korrekt, habs eben nochmal im Skript nachgeschaut und da wars dann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295914</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295914</guid><dc:creator><![CDATA[Videonauth]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:23:15 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 10:55:34 GMT]]></title><description><![CDATA[<p>Videonauth schrieb:</p>
<blockquote>
<p>Exakt das wars, der Tafelanschrieb war nicht korrekt, habs eben nochmal im Skript nachgeschaut und da wars dann.</p>
</blockquote>
<p>Im sinne der Aufgabenstellung solltest du aber trotzdem noch Zeile 16 in std::vector ändern, da VLAs bloß eine Erweiterung deines Compilers sind, kein Standard-C++. Das weiß (hoffentlich!) auch dein Lehrer.</p>
<p>Ansonsten könnte man noch viele Kleinigkeiten stilistisch verbessern, aber es sind keine weiteren &quot;echte&quot; Fehler mehr drin.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295923</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Mon, 04 Feb 2013 10:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:01:25 GMT]]></title><description><![CDATA[<p>Nachtrag dazu:<br />
Damit es bei mir kompiliert (Visual Studio 2012) habe ich (wie SeppJ jetzt schon gesagt hat) diese Zeile</p>
<pre><code>int indizes[childs];
</code></pre>
<p>in diese geändert:</p>
<pre><code>std::vector&lt;int&gt; indizes(childs);
</code></pre>
<p>Macht das gleiche und ist besser und sicherer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295926</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:01:25 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:13:48 GMT]]></title><description><![CDATA[<p>Videonauth schrieb:</p>
<blockquote>
<p>Exakt das wars, der Tafelanschrieb war nicht korrekt, habs eben nochmal im Skript nachgeschaut und da wars dann.</p>
</blockquote>
<p>Auch klar warum das so sein muss?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295930</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295930</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:13:48 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:25:00 GMT]]></title><description><![CDATA[<p>Shade Of Mine schrieb:</p>
<blockquote>
<p>Videonauth schrieb:</p>
<blockquote>
<p>Exakt das wars, der Tafelanschrieb war nicht korrekt, habs eben nochmal im Skript nachgeschaut und da wars dann.</p>
</blockquote>
<p>Auch klar warum das so sein muss?</p>
</blockquote>
<p>Ist mir noch nicht ganz klar, da lese ich grade darüber und arbeite es auf dem Papier auf.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295934</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295934</guid><dc:creator><![CDATA[Videonauth]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:35:14 GMT]]></title><description><![CDATA[<p>Videonauth schrieb:</p>
<blockquote>
<p>Shade Of Mine schrieb:</p>
<blockquote>
<p>Videonauth schrieb:</p>
<blockquote>
<p>Exakt das wars, der Tafelanschrieb war nicht korrekt, habs eben nochmal im Skript nachgeschaut und da wars dann.</p>
</blockquote>
<p>Auch klar warum das so sein muss?</p>
</blockquote>
<p>Ist mir noch nicht ganz klar, da lese ich grade darüber und arbeite es auf dem Papier auf.</p>
</blockquote>
<p>% liefert ja den Rest einer Division.</p>
<p>Also<br />
5%3 == 1 mal, 2 Rest<br />
Sprich: 2 ist das ergebnis</p>
<p>Das bedeutet aber auch, dass man mit % einen maxmimal Wert bestimmen kann:<br />
n%m ist 0 bis (m-1)<br />
Denn wenn der Rest gleich m wäre - dann würde m ja noch einmal mehr rein passen.</p>
<p>(i % childs)+1<br />
oder auch<br />
(i+1) % childs</p>
<p>ich bin mir nicht sicher was von beiden das gewünschte ist, aber ich tippe mittlerweile eher auf das 2.</p>
<p>Das ergebnis vom 1. ist 1 bis childs<br />
Das ergebnis vom 2. ist 0 bis childs-1</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295936</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295936</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:47:32 GMT]]></title><description><![CDATA[<p>Also konkret:</p>
<p>(i+1)%childs</p>
<p>Sei gegeben 5 Kinder, ergeben dich folgende Indizes</p>
<p>Array[0] = (0+1)%5 = 0 Rest 1 = 1<br />
Array[1] = (1+1)%5 = 0 Rest 2 = 2<br />
Array[2] = (2+1)%5 = 0 Rest 3 = 3<br />
Array[3] = (3+1)%5 = 0 Rest 4 = 4<br />
Array[4] = (4+1)%5 = 1 Rest 0 = 0</p>
<p>Wenn ich das nun richtig verstanden habe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295937</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295937</guid><dc:creator><![CDATA[Videonauth]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:47:32 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:50:12 GMT]]></title><description><![CDATA[<p>Videonauth schrieb:</p>
<blockquote>
<p>Wenn ich das nun richtig verstanden habe.</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295938</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295938</guid><dc:creator><![CDATA[Shade Of Mine]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:50:12 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Abzählreim Programm produziert SIGSEGV, aber warum? on Mon, 04 Feb 2013 11:59:03 GMT]]></title><description><![CDATA[<p>Und genau diese Ergebnisse nutzt du später als Index für dein Array um Kinder zu eliminieren, wenn es keine Silben mehr zum Sprechen gibt.</p>
<p>Der Knackpunkt ist, die nutzt eben diese Ergebnisse später als Index, daher muss es die 2. von Shade-of-Mine's Lösungen sein, die erste gibt dir wie du gemerkt hast Fehler beim Arrayzugriff (Out-Of-Bounds 'n' shit)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2295942</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2295942</guid><dc:creator><![CDATA[Skym0sh0]]></dc:creator><pubDate>Mon, 04 Feb 2013 11:59:03 GMT</pubDate></item></channel></rss>