2026-07-04 ⋅ Dan Boolalpha C++98 beginner io std::boolalpha is an I/O manipulator which prints boolean expressions as "true" and "false" strings instead of the usual 1/0.#include <iostream> int main() { std::cout << std::boolalpha << true << "\n" << false << "\n"; } References cppreferences: boolalpha