F&A Diskussionen
How to develop a game
-2 Stimmen
4 AntwortenCout__x
0 Stimmen
2 Antworten#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 Stimmen
5 AntwortenPlz answer?
1 Stimme
2 AntwortenWher is mistake?
0 Stimmen
5 AntwortenHeute heiß
C pointers
2 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes