<?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[Logische Operation (Keine Ahnung)]]></title><description><![CDATA[<p>Die Aufgabe lautet schreiben Sie ein Programm das eine Zahl einliest und die nächste kleinere und größere durch 16 teilbare Zahl ausgibt.Hinweis:Verwenden sie den Bitshilfoperator.</p>
<p>Ich hab keine Ahnung ......</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/339200/logische-operation-keine-ahnung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 11:18:09 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/339200.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Aug 2016 12:10:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Thu, 11 Aug 2016 12:10:54 GMT]]></title><description><![CDATA[<p>Die Aufgabe lautet schreiben Sie ein Programm das eine Zahl einliest und die nächste kleinere und größere durch 16 teilbare Zahl ausgibt.Hinweis:Verwenden sie den Bitshilfoperator.</p>
<p>Ich hab keine Ahnung ......</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505192</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505192</guid><dc:creator><![CDATA[crackmodz]]></dc:creator><pubDate>Thu, 11 Aug 2016 12:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Thu, 11 Aug 2016 13:47:34 GMT]]></title><description><![CDATA[<p>Bitshift heißt das!</p>
<p>Schau Dir mal die Binäre Darstellung einer durch 16 teilbaren Zahl an...<br />
Ansonsten langt dies als Hausaufgabenhilfe...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505195</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505195</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 11 Aug 2016 13:47:34 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Thu, 11 Aug 2016 15:49:44 GMT]]></title><description><![CDATA[<p>Und frag beim Aufgabensteller nach was mit grösser und kleiner gemeint ist. Also ob da nicht vielleicht grösser-gleich bzw. kleiner-gleich gemeint ist.<br />
Also ob du für Input 32 wirklich 16 und 48 ausgeben sollst. Wenn man die Aufgabe wörtlich exakt interpretiert müsstest du nämlich genau das machen. Aus Erfahrung würde ich aber sagen: normalerweise ist bei solchen Aufgaben der gewünschte Output für 32 eher 32 und 32.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505211</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505211</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 11 Aug 2016 15:49:44 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 04:42:49 GMT]]></title><description><![CDATA[<p>Versuchs doch mal mit: int Kleinere = i &amp; 0xFFFFFFF0; die kleinere. Und Grössere = Kleinere + 16;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505230</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505230</guid><dc:creator><![CDATA[Biter]]></dc:creator><pubDate>Fri, 12 Aug 2016 04:42:49 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 05:00:22 GMT]]></title><description><![CDATA[<p>Falls echt kleiner und grösser gemeint sein sollte, füge das noch hinzu: if ( Kleiner == i ) Kleiner -= 16;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505232</guid><dc:creator><![CDATA[Biter]]></dc:creator><pubDate>Fri, 12 Aug 2016 05:00:22 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 08:36:41 GMT]]></title><description><![CDATA[<p>Biter schrieb:</p>
<blockquote>
<p>Versuchs doch mal mit: int Kleinere = i &amp; 0xFFFFFFF0; die kleinere. Und Grössere = Kleinere + 16;</p>
</blockquote>
<p>Das ist keine Lösung, wenn ein Bitshift benutzt werden soll!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505242</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 12 Aug 2016 08:36:41 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 08:55:22 GMT]]></title><description><![CDATA[<p>Ok das wusste ich nicht ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505245</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505245</guid><dc:creator><![CDATA[Biter]]></dc:creator><pubDate>Fri, 12 Aug 2016 08:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 09:08:58 GMT]]></title><description><![CDATA[<p>Geht das überhaupt mit &lt;&lt; oder &gt;&gt; ? Vielleicht so: i &gt;&gt;= 4; und anschliesend i &lt;&lt;= 4;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505247</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505247</guid><dc:creator><![CDATA[Biter]]></dc:creator><pubDate>Fri, 12 Aug 2016 09:08:58 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 09:56:39 GMT]]></title><description><![CDATA[<p>Biter schrieb:</p>
<blockquote>
<p>Geht das überhaupt mit &lt;&lt; oder &gt;&gt; ? Vielleicht so: i &gt;&gt;= 4; und anschliesend i &lt;&lt;= 4;</p>
</blockquote>
<p>Quatsch. Was kommt denn bei 31 oder 79 raus?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505248</guid><dc:creator><![CDATA[EOP-hat-wiedermal]]></dc:creator><pubDate>Fri, 12 Aug 2016 09:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 10:08:31 GMT]]></title><description><![CDATA[<p>Bei 31 kommt 16 heraus. 11111 &gt;&gt;= 4 ergibt 1, und 1 &lt;&lt;= 4 ist 16.<br />
Bei 79 kommt 64 heraus. 1001111 &gt;&gt;= 4 ergibt 100, und 100 &lt;&lt;= 4 ist 64.<br />
Ok ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505250</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505250</guid><dc:creator><![CDATA[Biter]]></dc:creator><pubDate>Fri, 12 Aug 2016 10:08:31 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 11:10:15 GMT]]></title><description><![CDATA[<p>komme immer noch nicht weiter aber trotzdem danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505255</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505255</guid><dc:creator><![CDATA[crackmodz]]></dc:creator><pubDate>Fri, 12 Aug 2016 11:10:15 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 11:13:03 GMT]]></title><description><![CDATA[<p>Mit anderen Worten: Dir wird eine Komplettlösung geliefert, Du schaffst es nichtmal sie abzuschreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505256</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505256</guid><dc:creator><![CDATA[SG1]]></dc:creator><pubDate>Fri, 12 Aug 2016 11:13:03 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 12:27:30 GMT]]></title><description><![CDATA[<p>ja genau , tut mir leid, dass ich gestern erst mit c++ angefangen habe und mein Lehrer übertreibt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505268</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505268</guid><dc:creator><![CDATA[crackmodz]]></dc:creator><pubDate>Fri, 12 Aug 2016 12:27:30 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 12:48:29 GMT]]></title><description><![CDATA[<p>Biter schrieb:</p>
<blockquote>
<p>Bei 31 kommt 16 heraus. 11111 &gt;&gt;= 4 ergibt 1, und 1 &lt;&lt;= 4 ist 16.<br />
Bei 79 kommt 64 heraus. 1001111 &gt;&gt;= 4 ergibt 100, und 100 &lt;&lt;= 4 ist 64.<br />
Ok ?</p>
</blockquote>
<p>Ach so, du meintest</p>
<pre><code>i = i &gt;&gt; 4 &lt;&lt; 4;
</code></pre>
<p>Hatte ich falsch verstanden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505275</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505275</guid><dc:creator><![CDATA[EOP-hat-wiedermal]]></dc:creator><pubDate>Fri, 12 Aug 2016 12:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to Logische Operation (Keine Ahnung) on Fri, 12 Aug 2016 12:54:49 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/u100590" rel="nofollow">Martin Richter</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/f1" rel="nofollow">MFC (Visual C++)</a> in das Forum <a href="http://www.c-plusplus.net/forum/f15" rel="nofollow">C++ (alle ISO-Standards)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2505277</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2505277</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Fri, 12 Aug 2016 12:54:49 GMT</pubDate></item></channel></rss>