How to print bool in C++? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

How to print bool in C++?

5th Jun 2017, 11:05 PM
Hyde
2 Antworten
+ 8
cout << "bool"; or bool abool = true; cout << abool; Not sure which one you wanted 😝
5th Jun 2017, 11:11 PM
Rrestoring faith
Rrestoring faith - avatar
+ 4
Thanku..
5th Jun 2017, 11:16 PM
Hyde