Dyskusje Q&A
How to develop a game
-2 głosów
4 odpowiedziCout__x
0 głosów
2 odpowiedzi#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 głosów
5 odpowiedziPlz answer?
1 Głos
2 odpowiedziWher is mistake?
0 głosów
5 odpowiedziPopularne dzisiaj
Loops and conditions
2 Votes
GitHub account connecting issue
3 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Any coding competitions?
1 Votes
Alguém Português por aqui?
0 Votes
Rise of AI
1 Votes