Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Booleans

bool isCodingFun = true;
bool isFishTasty = false;
cout << isCodingFun;  // Outputs 1 (true)
cout << isFishTasty;  // Outputs 0 (false)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Booleans
ADD COMMENT
Topic
Name
4+2 =