bool
bool is used to represent a true or false value.
bool boolT = true;
bool boolF = false;
The bool type is the type used in if statements,while,for and do.
if true:
Fmt::Print("Im True");
while true:
Fmt::Print("I Loop forever");
bool is used to represent a true or false value.
bool boolT = true;
bool boolF = false;
The bool type is the type used in if statements,while,for and do.
if true:
Fmt::Print("Im True");
while true:
Fmt::Print("I Loop forever");