#include #include int main() { const std::bitset<8> b8 { 0b110111 }; std::cout << b8[0] << ' ' << b8[1] << ' ' << b8[2] << ' ' << b8[3] << ' ' << b8[4] << ' ' << b8[5] << ' ' << b8[6] << ' ' << b8[7] << std::endl;