Discussioni Q&A
How to develop a game
-2 Voti
4 RisposteCout__x
0 Voti
2 Risposte#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 Voti
5 RispostePlz answer?
1 Voto
2 RisposteWher is mistake?
0 Voti
5 RispostePopolare oggi
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
Hello guys,
1 Votes
Help me
1 Votes
NEO V2.0
1 Votes
Programming
0 Votes
how do they use javascript
0 Votes