+ 4

whats the meaning of the bool variable?

in c++

1st Aug 2017, 3:54 PM
Abdulsalam Al-Hammadi 🇾🇪
Abdulsalam Al-Hammadi 🇾🇪 - avatar
3 Antworten
+ 12
Boolean variables are variable which can only conditional values, that is, either true or false. E.g. bool isRaining = true; if (isRaining) std::cout << "It is raining.";
1st Aug 2017, 4:09 PM
Hatsy Rei
Hatsy Rei - avatar
+ 3
Thanks you are nice
10th Aug 2017, 12:39 AM
Abdulsalam Al-Hammadi 🇾🇪
Abdulsalam Al-Hammadi 🇾🇪 - avatar
+ 2
bool is logic variables with tow values true or false
14th Dec 2018, 6:11 PM
Abdulelah Ahmed Mohammed Alalaya
Abdulelah Ahmed Mohammed Alalaya - avatar