<?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[Undo-Funktion]]></title><description><![CDATA[<p>kann mir mal jemand erlkärn wie man eine undo fukntion in c++ einbaut ?!<br />
ich nutz den dev cpp und muss en game (soliaire) proggen und muss da au 10 züge zurückgehn können wie geht das ?<br />
im vorraus danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/212357/undo-funktion</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 20:21:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/212357.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 May 2008 13:02:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Undo-Funktion on Mon, 05 May 2008 13:02:46 GMT]]></title><description><![CDATA[<p>kann mir mal jemand erlkärn wie man eine undo fukntion in c++ einbaut ?!<br />
ich nutz den dev cpp und muss en game (soliaire) proggen und muss da au 10 züge zurückgehn können wie geht das ?<br />
im vorraus danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1503635</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1503635</guid><dc:creator><![CDATA[hasch]]></dc:creator><pubDate>Mon, 05 May 2008 13:02:46 GMT</pubDate></item><item><title><![CDATA[Reply to Undo-Funktion on Mon, 05 May 2008 13:05:00 GMT]]></title><description><![CDATA[<p>genauso wie vorwärts, nur anders rum.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1503636</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1503636</guid><dc:creator><![CDATA[elefantenmensch]]></dc:creator><pubDate>Mon, 05 May 2008 13:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Undo-Funktion on Mon, 05 May 2008 13:05:26 GMT]]></title><description><![CDATA[<p>ich denke mal sinnvoll wird sein, dass du n command objekt hast.<br />
Das Command Objekt stellt einen Spielzug dar. Also so was wie As auf As-Feld gelegt = ein Command Objekt. Dann musste dir &quot;nur&quot; noch die Commands auf nen 10 Elemente großen Stack legen, kannst die Infos aus den Commands raus ziehn, was wo hin gelegt wurde und das ganze rückgängig machen. Oder du sicherst dir in den Commands gleich die rückgängig-Commands, dann musste gar nix rückgängig machen, sondern dein Command-Executer kann direkt diese Commands ausführen und den Zug rückgängig machen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1503637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1503637</guid><dc:creator><![CDATA[Vorden]]></dc:creator><pubDate>Mon, 05 May 2008 13:05:26 GMT</pubDate></item></channel></rss>