Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 827 Bytes

File metadata and controls

19 lines (14 loc) · 827 Bytes
description Learn more about: Selection Statements (C++)
title Selection Statements (C++)
ms.custom index-page
ms.date 11/04/2016
helpviewer_keywords
selection statements [C++], syntax
selection statements
ms.assetid 2ce662fc-5e62-461b-ac31-2c159d8ef33b

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.

See also

Overview of C++ Statements