How can this number be converted into bit in c++? -
i wish convert numbers 0x030c30c3 , 0x09249249 bit. how can that?
the binary representation can accessed , manipulated through std::bitset
:
std::bitset<32> var(0x030c30c3); std::cout << var; // binary representation
Comments
Post a Comment