<?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[Erklärung Syntax]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin grade dabei ein kleines Programm zum Anzeigen und zur Bearbeitung von Bitmaps zu schreiben.<br />
Dazu hab ich mich hier mal etwas umgetauscht, und bin auch auf SourceCode zum erstellen von HBITMAP´s gestossen. Dabei fiel mir folgende Zeile auf:</p>
<pre><code>bmih.biSizeImage = ((((bmih.biWidth * bmih.biBitCount) + 31)                           &amp; ~31) &gt;&gt; 3) * bmih.biHeight;
</code></pre>
<p>Das Ergebniss dieser Berechnung ist ja richtig. Aber was bitte passiert da?</p>
<p>Speziel meine ich natürlich den Teil:</p>
<pre><code>+ 31)&amp; ~31) &gt;&gt; 3)
</code></pre>
<p>Für Hilfe wäre ich sehr dankbar.<br />
Vielen Dank im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/197596/erklärung-syntax</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 21:01:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/197596.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Nov 2007 16:23:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Erklärung Syntax on Mon, 12 Nov 2007 16:23:44 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich bin grade dabei ein kleines Programm zum Anzeigen und zur Bearbeitung von Bitmaps zu schreiben.<br />
Dazu hab ich mich hier mal etwas umgetauscht, und bin auch auf SourceCode zum erstellen von HBITMAP´s gestossen. Dabei fiel mir folgende Zeile auf:</p>
<pre><code>bmih.biSizeImage = ((((bmih.biWidth * bmih.biBitCount) + 31)                           &amp; ~31) &gt;&gt; 3) * bmih.biHeight;
</code></pre>
<p>Das Ergebniss dieser Berechnung ist ja richtig. Aber was bitte passiert da?</p>
<p>Speziel meine ich natürlich den Teil:</p>
<pre><code>+ 31)&amp; ~31) &gt;&gt; 3)
</code></pre>
<p>Für Hilfe wäre ich sehr dankbar.<br />
Vielen Dank im Voraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1401962</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1401962</guid><dc:creator><![CDATA[RTun]]></dc:creator><pubDate>Mon, 12 Nov 2007 16:23:44 GMT</pubDate></item><item><title><![CDATA[Reply to Erklärung Syntax on Mon, 12 Nov 2007 19:08:37 GMT]]></title><description><![CDATA[<p>(x+31) &amp; ~31</p>
<p>Rundet auf die nächst größere Zahl, bei der die unteren 5 Bits 0 sind.</p>
<blockquote>
<blockquote>
<p>3 teilt durch 8 (ermittelt die Byte Zahl)</p>
</blockquote>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1402072</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1402072</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Mon, 12 Nov 2007 19:08:37 GMT</pubDate></item></channel></rss>