Answers for "cout << boolalpha"

0

cout boolalpha

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

int main () {
  bool b = true;
  std::cout << std::boolalpha << b << '\n';
  std::cout << std::noboolalpha << b << '\n';
  return 0;
}
Posted by: Guest on April-22-2021

Code answers related to "Assembly"

Browse Popular Code Answers by Language