<?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[einzelnen bit überprüfen]]></title><description><![CDATA[<p>ich glaub ich hab was in c++ verpasst</p>
<p>wie kann ich einen einzelnen bit in einer variable überprüfen ob dieser 1 oder 0 ist?</p>
<p>es geht um die flags</p>
<p>(event-&gt;buttons() == Qt::LeftButton) das hier funktioniert nicht wenn noch andere events aktiv sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/243015/einzelnen-bit-überprüfen</link><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 15:10:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/243015.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Jun 2009 08:15:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to einzelnen bit überprüfen on Thu, 11 Jun 2009 08:15:03 GMT]]></title><description><![CDATA[<p>ich glaub ich hab was in c++ verpasst</p>
<p>wie kann ich einen einzelnen bit in einer variable überprüfen ob dieser 1 oder 0 ist?</p>
<p>es geht um die flags</p>
<p>(event-&gt;buttons() == Qt::LeftButton) das hier funktioniert nicht wenn noch andere events aktiv sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724924</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724924</guid><dc:creator><![CDATA[xBlackKnightx]]></dc:creator><pubDate>Thu, 11 Jun 2009 08:15:03 GMT</pubDate></item><item><title><![CDATA[Reply to einzelnen bit überprüfen on Thu, 11 Jun 2009 08:20:28 GMT]]></title><description><![CDATA[<p>Dafür kannst du ein bitweises &amp; benutzen. Die Bits des zweiten Operanden stehen dann alle auf 0 außer dem, das überprüft werden soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724925</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724925</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Thu, 11 Jun 2009 08:20:28 GMT</pubDate></item><item><title><![CDATA[Reply to einzelnen bit überprüfen on Thu, 11 Jun 2009 08:41:06 GMT]]></title><description><![CDATA[<p>danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1724933</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1724933</guid><dc:creator><![CDATA[xBlackKnightx]]></dc:creator><pubDate>Thu, 11 Jun 2009 08:41:06 GMT</pubDate></item></channel></rss>