Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Selection Statements (C++)

 

The latest version of this topic can be found at Selection Statements (C++).

The C++ selection statements, if and switch, provide a means to conditionally execute sections of code.

The __if_exists and __if_not_exists statements allow you to conditionally include code depending on the existence of a symbol.

See the individual topics for the syntax for each statement.

Overview of C++ Statements

Show: