<?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[Suche Sortieralgorithmus]]></title><description><![CDATA[<p>Ich habe 3 Variablen a,b,c wo die größte die Länge, die mittlere die Breite und die kürzeste die Höhe sein soll. Ich habe es mit IF und ELSE IF probiert, was aber zu kompliziert war. Kennt jemand einen Sortieralgorithmus, mit dem das einfacher geht?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/179499/suche-sortieralgorithmus</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 06:20:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/179499.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Apr 2007 15:42:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Suche Sortieralgorithmus on Sun, 22 Apr 2007 15:42:42 GMT]]></title><description><![CDATA[<p>Ich habe 3 Variablen a,b,c wo die größte die Länge, die mittlere die Breite und die kürzeste die Höhe sein soll. Ich habe es mit IF und ELSE IF probiert, was aber zu kompliziert war. Kennt jemand einen Sortieralgorithmus, mit dem das einfacher geht?</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1271189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1271189</guid><dc:creator><![CDATA[thadre]]></dc:creator><pubDate>Sun, 22 Apr 2007 15:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Suche Sortieralgorithmus on Sun, 22 Apr 2007 15:47:19 GMT]]></title><description><![CDATA[<p>if(a&lt;b) swap(a,b);<br />
if(b&lt;c) swap(b,c);<br />
if(a&lt;b) swap(a,b);<br />
danach ist a&lt;=b und b&lt;=c</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1271191</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1271191</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sun, 22 Apr 2007 15:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Suche Sortieralgorithmus on Sun, 22 Apr 2007 16:26:53 GMT]]></title><description><![CDATA[<p>Vielen Dank für deine schnelle Hilfe. Das war genau was ich gesucht habe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1271231</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1271231</guid><dc:creator><![CDATA[thadre]]></dc:creator><pubDate>Sun, 22 Apr 2007 16:26:53 GMT</pubDate></item><item><title><![CDATA[Reply to Suche Sortieralgorithmus on Sun, 22 Apr 2007 17:58:56 GMT]]></title><description><![CDATA[<p>Wenn du das vllt. auch mal für en array oder so brauchst:<br />
<a href="http://de.wikipedia.org/wiki/Bubble_Sort" rel="nofollow">http://de.wikipedia.org/wiki/Bubble_Sort</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1271316</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1271316</guid><dc:creator><![CDATA[tobZel]]></dc:creator><pubDate>Sun, 22 Apr 2007 17:58:56 GMT</pubDate></item></channel></rss>