⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 book_text17.htm

📁 深入编程内幕vc++ 非常适合处学者学习
💻 HTM
📖 第 1 页 / 共 5 页
字号:
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">BMP</SPAN><SPAN 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier New'; mso-shading: white; mso-pattern: gray-15 auto">数据的字节数</SPAN><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'"><O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            DWORD_WBYTES(x)<SPAN 
            style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            </SPAN>((((x)+31UL)&gt;&gt;5)&lt;&lt;2)<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">&nbsp;<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            min(a, b)<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>(((a) &lt; 
            (b)) ? (a) : (b))<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">&nbsp;<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#ifdef 
            WIN32<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            BMPDATA<SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>BYTE<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#else<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            BMPDATA<SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>BYTE 
            _huge<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#endif<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">// 
            #include "test.cpp"<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">&nbsp;<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            PALVERSION<SPAN 
            style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            </SPAN>0x0300<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            DIB_STORAGEWIDTH(x) ((x + 3) &amp; ~3)<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            WIDTHBYTES(i)<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; 
            </SPAN>((i+31)/32*4)<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            MAXPALETTE<SPAN style="mso-tab-count: 1">&nbsp;&nbsp; 
            </SPAN>256<SPAN style="mso-tab-count: 1"> </SPAN><SPAN 
            style="mso-spacerun: yes">&nbsp; </SPAN>/* max. # supported palette 
            entries */<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">#define 
            MAXLOADFLCNUMBER<SPAN style="mso-tab-count: 1"> </SPAN>255<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">&nbsp;<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">class 
            PALETTE<O:P> </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">{<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-family: 'Times New Roman'">private:<O:P> 
            </O:P></SPAN></P>
            <P class=MsoNormal 
            style="WORD-BREAK: break-all; mso-line-height-alt: 1.3pt; mso-pagination: none; mso-layout-grid-align: none; punctuation-wrap: simple"><SPAN 
            lang=EN-US 
            style="FONT-SIZE: 10.5pt; BACKGROUND: #d9d9d9; LAYOUT-GRID-MODE: line; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 10.0pt; mso-shading: white; mso-pattern: gray-15 auto; mso-bidi-font-f

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -