添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

The #else directive marks an optional clause of a conditional-compilation block defined by a #ifdef , #ifndef , or #if directive. The #else directive must be the last directive before the #endif directive.

#else

This directive has no parameters.

Example

This example compiles the second BITMAP statement only if DEBUG is not defined:

#ifdef DEBUG
    BITMAP 1 errbox.bmp
#else
    BITMAP 1 userbox.bmp
#endif

Preprocessor Directives