+ 1

Binary Code

How I can calculate the binary code of a number in c++ and output them?

4th Jun 2024, 3:46 AM
ErnesGamer09
ErnesGamer09 - avatar
1 Odpowiedź
+ 7
You don't have to do it manually, C++ already has an utility specifically designed for the purpose https://en.cppreference.com/w/cpp/utility/bitset http://www.cplusplus.com/reference/bitset/bitset/
4th Jun 2024, 5:03 AM
Ipang