You are on page 1of 1

#include <format>

#include <iostream>

int main()
{
int x{1234};
std::cout << std::format("{} {:x} {:o} {:d} {:b}\n", x, x, x, x, x);
}

You might also like