How to print bool in C++? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

How to print bool in C++?

5th Jun 2017, 11:05 PM
Hyde
2 Réponses
+ 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