elif directive

   
#elif directive Else-if for conditional compilation

 #elif   constant-expression   

The #elif directive marks a region of conditional compilation. Every #elif must be paired with an introductory directive: #if , #ifdef , or # ifndef . If the initial condition was false ( ), and every subsequent #elif condition is false, and constant-expression is true (nonzero), subsequent statements are compiled until the next #elif , #else , or #endif directive is reached for this level of nesting.

See Also

#else directive, #if directive

   


C++ in a Nutshell
C++ in a Nutshell
ISBN: 059600298X
EAN: 2147483647
Year: 2005
Pages: 270
Authors: Ray Lischner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net