Обсуждения
What is hexadecimal
3 голосов
2 ответовOctal system
2 голосов
1 ответparseInt() method
1 голос
2 ответовPI to more than 15 digits
0 голосов
6 ответовwhy is it <=36?
1 голос
2 ответов#include <iostream>
#include <bitset>
int main()
{
int myDecimalNumber;
std::cin >> myDecimalNumber;
std::string binary = std::bitset<8>(myDecimalNumber).to_string(); //to binary
std::cout<<binary<<"\n";
unsigned long decimal = std::bitset<8>(binary).to_long();
std::cout<<decimal<<"\n";
return 0;
}
2 голосов
5 ответовComo pasar de binario a decimal?
0 голосов
2 ответовHow should I solve this challenge?
4 голосов
3 ответовАктуальное сегодня
Code suggestions
3 Votes
I am new in python
0 Votes
How to access private creations
0 Votes
Can we collab?
1 Votes
Calculator
0 Votes
working with list > Game Machine
0 Votes
I'm new in js
0 Votes