<?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[int spielfeld[X][Y]]]></title><description><![CDATA[<p>Hi,<br />
hab eine ganz einfache Frage, stimmt das was ich als Überschrift hab, also erste Klammer X zweite Y? Wenn ich das jetzt mit Punkte anzeigen lasse wird das nämlich vertauscht.</p>
<p>MfG PSPfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/234697/int-spielfeld-x-y</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 09:12:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/234697.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Feb 2009 08:45:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 08:45:39 GMT]]></title><description><![CDATA[<p>Hi,<br />
hab eine ganz einfache Frage, stimmt das was ich als Überschrift hab, also erste Klammer X zweite Y? Wenn ich das jetzt mit Punkte anzeigen lasse wird das nämlich vertauscht.</p>
<p>MfG PSPfreak</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667445</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667445</guid><dc:creator><![CDATA[PSPfreak20072]]></dc:creator><pubDate>Sat, 21 Feb 2009 08:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 08:47:07 GMT]]></title><description><![CDATA[<p>Dann vllt doch eher [y][x]? <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="🙂"
    /> Kommt einfach drauf an wie du die Arrays füllst...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667447</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667447</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Sat, 21 Feb 2009 08:47:07 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 09:10:59 GMT]]></title><description><![CDATA[<p>meine arrays sind immer a[y][x].</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667457</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 21 Feb 2009 09:10:59 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 15:34:29 GMT]]></title><description><![CDATA[<p>jo anderst herum funktionierts auch wie ich es will, aber normal gibt man doch immer zuerst x und dann y an</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667607</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667607</guid><dc:creator><![CDATA[PSPfreak20072]]></dc:creator><pubDate>Sat, 21 Feb 2009 15:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 15:52:02 GMT]]></title><description><![CDATA[<p>volkard schrieb:</p>
<blockquote>
<p>meine arrays sind immer a[y][x].</p>
</blockquote>
<p>Aus reiner Neugier, darf ich fragen warum?</p>
<p>Ich habe immer ein [x][y], weil ich es gleich halten will, wie ich die Abfragen in den Funktionen habe:<br />
`set(x, y, value);</p>
<p>set(width, height);`</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667616</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Sat, 21 Feb 2009 15:52:02 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 16:09:58 GMT]]></title><description><![CDATA[<p>sagen wir so, ich hab ne funktion welche den wert der ersten klammer ermittelt und ein erhöht, dann werden die werte der zweiten klammer erhöt und ausgegeben. und das wird immer gemacht bis die tabelle vollständig ist.</p>
<p>das sieht dann so aus:</p>
<p>..........<br />
..........<br />
..........<br />
..........<br />
..........<br />
..........<br />
..........<br />
..........<br />
..........<br />
..........</p>
<p>jetzt hab ich die werte verändert aber festgestellt, dass sich die falsche achse verändert <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="😉"
    /> habs jetzt aber verstanden <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/1667624</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667624</guid><dc:creator><![CDATA[PSPfreak20072]]></dc:creator><pubDate>Sat, 21 Feb 2009 16:09:58 GMT</pubDate></item><item><title><![CDATA[Reply to int spielfeld[X][Y] on Sat, 21 Feb 2009 17:43:58 GMT]]></title><description><![CDATA[<p>Dravere schrieb:</p>
<blockquote>
<p>volkard schrieb:</p>
<blockquote>
<p>meine arrays sind immer a[y][x].</p>
</blockquote>
<p>Aus reiner Neugier, darf ich fragen warum?</p>
</blockquote>
<p>a)<br />
damit</p>
<pre><code class="language-cpp">int a[Y][X];
</code></pre>
<p>und</p>
<pre><code class="language-cpp">typedef int zeile[X];zeile a[Y];
</code></pre>
<p>gleich sind.</p>
<p>b)<br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox688" checked="true" /><label for="checkbox688">schneller ist. der letzte index läuft direkt im speicher.</label></div></p>
<p>c)<br />
<div class="plugin-markdown"><input type="checkbox" id="checkbox689" checked="true" /><label for="checkbox689">liegt, oder weil ich so viele zählschleifen und verkettete listen gebaut habe, statt immer std:: zu nehmen.</label></div></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1667683</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1667683</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Sat, 21 Feb 2009 17:43:58 GMT</pubDate></item></channel></rss>