bool

bool is the C++ Boolean type. A Boolean variable can contain only two values: true or false. In C++, any non-zero integral expression is considered to be true, and any zero integral expression is considered false. Unlike other languages (such as Java), explicit comparison to true or false is not required to evaluate an expression in a Boolean context.