Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How can one write a program that will display its boolean value as true wen compiled?
1 Antwort
0
You could do something like this:
static void main(){
bool myCondition = true;
cout<<myCondition;
}