<?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[STL Stack, Verständnisfrage + Quellcode]]></title><description><![CDATA[<p>...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/270630/stl-stack-verständnisfrage-quellcode</link><generator>RSS for Node</generator><lastBuildDate>Sun, 30 Aug 2026 01:15:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/270630.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jul 2010 13:45:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 20:14:38 GMT]]></title><description><![CDATA[<p>...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926697</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926697</guid><dc:creator><![CDATA[jIMMy11]]></dc:creator><pubDate>Thu, 15 Jul 2010 20:14:38 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 13:54:25 GMT]]></title><description><![CDATA[<p>Such mal im Netz nach &quot;Türme von Hanoi&quot; und &quot;Rekursion&quot;. Da findet man viele tolle Lösungen, welche auch noch mit extrem wenig Code auskommen.<br />
Ich schätze mal, dass Euer Dozent darauf hinaus wollte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926701</guid><dc:creator><![CDATA[Tachyon]]></dc:creator><pubDate>Thu, 15 Jul 2010 13:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 14:33:21 GMT]]></title><description><![CDATA[<p>Tachyon schrieb:</p>
<blockquote>
<p>Such mal im Netz nach &quot;Türme von Hanoi&quot; und &quot;Rekursion&quot;. Da findet man viele tolle Lösungen, welche auch noch mit extrem wenig Code auskommen.<br />
Ich schätze mal, dass Euer Dozent darauf hinaus wollte.</p>
</blockquote>
<p>Hm , du hast dir anscheinend nicht meinen Code angeguckt , ich soll mit dem Stack Container arbeiten.</p>
<p>Außerdem weicht das &quot;Türme von Hanoi&quot; das ich schreiben soll von dem Originalem ab , damit ich nicht aus dem Internet kopiere. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Bei mir hat man in der Ausgangslage 3 Türme , die jeweils schon 3 Werte enthalten , am Ende sollen alle geordnet auf einem Feld stehen , welches ist egal.</p>
<p>Meine Fragen sind immernoch offen <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>
]]></description><link>https://www.c-plusplus.net/forum/post/1926733</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926733</guid><dc:creator><![CDATA[jIMMy11]]></dc:creator><pubDate>Thu, 15 Jul 2010 14:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 15:26:45 GMT]]></title><description><![CDATA[<blockquote>
<p>Ich hoffe ich habe genug Informationen gegeben <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=";D"
      alt="😉"
    /> , mich nervt dieses Ding schon seit 30 Minuten ..</p>
</blockquote>
<p>Also 30 Minuten sind definitiv zu wenig. <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="😉"
    /><br />
Wenn du es nicht verstehst, dann geh da halt mit dem Debugger durch. Das sollte da sehr gut gehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926776</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926776</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 15 Jul 2010 15:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 16:34:09 GMT]]></title><description><![CDATA[<p>Wo ist denn jetzt das Problem? Kommst Du mit C++ nicht klar, oder findest Du den/die Bug(s) einfach nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926809</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Thu, 15 Jul 2010 16:34:09 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 16:48:58 GMT]]></title><description><![CDATA[<p>krümelkacker schrieb:</p>
<blockquote>
<p>Wo ist denn jetzt das Problem? Kommst Du mit C++ nicht klar, oder findest Du den/die Bug(s) einfach nicht?</p>
</blockquote>
<p>So, wie ich das verstanden habe versteht er den Code einfach nicht ganz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926816</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 15 Jul 2010 16:48:58 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 19:02:23 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>krümelkacker schrieb:</p>
<blockquote>
<p>Wo ist denn jetzt das Problem? Kommst Du mit C++ nicht klar, oder findest Du den/die Bug(s) einfach nicht?</p>
</blockquote>
<p>So, wie ich das verstanden habe versteht er den Code einfach nicht ganz.</p>
</blockquote>
<p>Hat überhaupt mal einer den Code kompiliert ?</p>
<p>Es sind garkeine Fehler im Quellcode , es geht um Verständnisfragen ...</p>
<p>Wenn man sich den Quellcode angeguckt hätte wäre einem aufgefallen , dass ich mir am Anfang ein 6er Stack-Array definiert habe.</p>
<p>In 3 von den Stack Arrays werden nun jeweils 3 Zufallszahlen reingeschrieben</p>
<p>3 Zufallszahlen * 3 Stacks = 9;</p>
<p>und die anderen 3 Stacks brauche ich als Duplikate.</p>
<p>Nun , wenn man sich mal die FOR-Schleife angeguckt hätte hätte man gesehen , dass ich dort überhaupt kein Array anspreche, sondern Stack1, Stack2, Stack3 geschrieben habe. Ich hatte mir nämlich vorher 3 einzelne Stacks definiert , aber bin dann auf ein Array umgestiegen ... was einem deutlich hätte auffallen müssen.</p>
<p>Nur verstehe ich einfach nicht wie er damit was anfangen kann und das ist meine eigentliche Frage ?!</p>
<p>Außerdem würde ich gerne wissen wie ich den Inhalt der in einem Stack steht in einen weiteren Schreibe. Dazu fehlt mir jeglicher Ansatz...</p>
<p>Ich hoffe ich habe mich jetzt verständlich genug ausgedrückt ..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926855</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926855</guid><dc:creator><![CDATA[jIMMy11]]></dc:creator><pubDate>Thu, 15 Jul 2010 19:02:23 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 19:35:58 GMT]]></title><description><![CDATA[<p>jIMMy11 schrieb:</p>
<blockquote>
<p>drakon schrieb:</p>
<blockquote>
<p>krümelkacker schrieb:</p>
<blockquote>
<p>Wo ist denn jetzt das Problem? Kommst Du mit C++ nicht klar, oder findest Du den/die Bug(s) einfach nicht?</p>
</blockquote>
<p>So, wie ich das verstanden habe versteht er den Code einfach nicht ganz.</p>
</blockquote>
<p>Hat überhaupt mal einer den Code kompiliert ?</p>
</blockquote>
<p>Ich nicht. Wozu auch? Ich habe ja noch nicht einmal Deine Fragen verstanden.</p>
<p>jIMMy11 schrieb:</p>
<blockquote>
<p>Es sind garkeine Fehler im Quellcode , es geht um Verständnisfragen ...</p>
</blockquote>
<p>Ja dann her damit.</p>
<p>jIMMy11 schrieb:</p>
<blockquote>
<p>Wenn man sich den Quellcode angeguckt hätte ....</p>
</blockquote>
<p>Ohne ne vernünftige Frage gucke ich mir auch keinen 50-Zeilen Quellcode an.</p>
<p>jIMMy11 schrieb:</p>
<blockquote>
<p>blah blah ...</p>
<p>Nur verstehe ich einfach nicht wie er damit was anfangen kann und das ist meine eigentliche Frage ?!</p>
</blockquote>
<p>Kannst Du Dir hier nochmal mehr Mühe geben und eine richtige Frage formulieren?</p>
<p>jIMMy11 schrieb:</p>
<blockquote>
<p>Außerdem würde ich gerne wissen wie ich den Inhalt der in einem Stack steht in einen weiteren Schreibe. Dazu fehlt mir jeglicher Ansatz...</p>
</blockquote>
<p>Hast Du es schon mit einer Zuweisung probiert?</p>
<p>jIMMy11 schrieb:</p>
<blockquote>
<p>Ich hoffe ich habe mich jetzt verständlich genug ausgedrückt ..</p>
</blockquote>
<p>Nö, haste nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926875</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Thu, 15 Jul 2010 19:35:58 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Thu, 15 Jul 2010 19:49:04 GMT]]></title><description><![CDATA[<p>und meine Fragen überliest du immer , ja ? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Lächerlich , C-PlusPlus , Irgendwer hat immer eine Antwort <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> ..</p>
<p>Nett Slogan , nur keine Antwort auf sinnvolle Fragen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926879</guid><dc:creator><![CDATA[jIMMy11]]></dc:creator><pubDate>Thu, 15 Jul 2010 19:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to STL Stack, Verständnisfrage + Quellcode on Fri, 16 Jul 2010 00:57:13 GMT]]></title><description><![CDATA[<p>am besten kommt man in foren immer, wenn man eine frage nur im anfangspost kurz andeutet(keinesfalls ausformulieren!), den anfangspost dann aber komplett wegeditiert - dann hat mans echt geschafft und alle welt möchte antworten...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1926964</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1926964</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Fri, 16 Jul 2010 00:57:13 GMT</pubDate></item></channel></rss>