<?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[seltsame schleife]]></title><description><![CDATA[<p>ich frage mich ob ich ein Brett vorm Kopf habe, oder warum diese Schleife nicht aufhört bei null weiter zu dekrementieren????</p>
<pre><code class="language-cpp">uint32 counter;
for(counter = 8 ;  counter &gt;= 0; counter--)
	{
		printCharacter(counter+'0',0x0A);

		for(time = 4000000; time &gt; 0; time--);
	}
</code></pre>
<p>die Ausgabe auf meinem Schirm(ist bei OS-Entwicklung):</p>
<p>876543210/.-,... was ja dann bedeutet dass der counter runtergezählt wird</p>
<p>es handelt sich um die Funktion um eine Zahl auf den Bildschrim zu schreiben, darum kann ich nicht einfach testen...</p>
<p>vielleicht hat es auch mit meinem kernel zu tun..</p>
<p>ich benutze gcc crosscompiler</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/268825/seltsame-schleife</link><generator>RSS for Node</generator><lastBuildDate>Mon, 31 Aug 2026 16:15:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/268825.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Jun 2010 21:15:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to seltsame schleife on Mon, 14 Jun 2010 21:16:34 GMT]]></title><description><![CDATA[<p>ich frage mich ob ich ein Brett vorm Kopf habe, oder warum diese Schleife nicht aufhört bei null weiter zu dekrementieren????</p>
<pre><code class="language-cpp">uint32 counter;
for(counter = 8 ;  counter &gt;= 0; counter--)
	{
		printCharacter(counter+'0',0x0A);

		for(time = 4000000; time &gt; 0; time--);
	}
</code></pre>
<p>die Ausgabe auf meinem Schirm(ist bei OS-Entwicklung):</p>
<p>876543210/.-,... was ja dann bedeutet dass der counter runtergezählt wird</p>
<p>es handelt sich um die Funktion um eine Zahl auf den Bildschrim zu schreiben, darum kann ich nicht einfach testen...</p>
<p>vielleicht hat es auch mit meinem kernel zu tun..</p>
<p>ich benutze gcc crosscompiler</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1912477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1912477</guid><dc:creator><![CDATA[uhsuhz]]></dc:creator><pubDate>Mon, 14 Jun 2010 21:16:34 GMT</pubDate></item><item><title><![CDATA[Reply to seltsame schleife on Mon, 14 Jun 2010 21:26:14 GMT]]></title><description><![CDATA[<p>Überleg mal welche Werte ein unsigned Integer so annehmen kann und was passiert, wenn man einen Unterlauf hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1912482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1912482</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Mon, 14 Jun 2010 21:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to seltsame schleife on Mon, 14 Jun 2010 22:10:59 GMT]]></title><description><![CDATA[<p>ach mist... stimmt <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>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1912498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1912498</guid><dc:creator><![CDATA[uhsuhz]]></dc:creator><pubDate>Mon, 14 Jun 2010 22:10:59 GMT</pubDate></item></channel></rss>