Search notes:

C++ Standard Library: std::boolalpha

//
// g++ boolalpha.cpp
//
#include <iostream>

int main() {

  std::cout << true  << std::endl; //  1
  std::cout << false << std::endl; //  0

  std::cout << std::boolalpha;

  std::cout << true  << std::endl; // true
  std::cout << false << std::endl; // false

}
Github repository about-cpp-standard-library, path: /iostream/boolalpha.cpp
Output:
1
0
true
false

See also

C++ Standard Library

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759390565, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/C-C-plus-plus/CPP-Standard-Library/iostream/boolalpha(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78