Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

cout boolalpha

// modify boolalpha flag
#include <iostream>     // std::cout, std::boolalpha, std::noboolalpha

int main () {
  bool b = true;
  std::cout << std::boolalpha << b << '
';
  std::cout << std::noboolalpha << b << '
';
  return 0;
}
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #cout #boolalpha
ADD COMMENT
Topic
Name
5+3 =