0
How to convert decimal numbers to binary number in c ++
3 Respostas
+ 1
https://stackoverflow.com/questions/22746429/c-decimal-to-binary-converting/22746526#22746526
And if you want to convert a number to decimal, hexadecimal, or octal, you have std::dec, std::hex, and std::oct.
https://en.cppreference.com/w/cpp/io/manip/hex
+ 1
There is an assignment on the Learn section about base conversion, you can view the submissions and learn from others' code.
https://www.sololearn.com/learn/4943/?ref=app
+ 1
Thanks 💞 brother