Q&A Discussões
Please... Explain...
0 Voto
2 Respostaswhy is it giving n??
0 Voto
2 Respostas#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 Votos
5 RespostasPlz explain output?
0 Voto
2 RespostasPlease Helpp
1 Voto
1 RespostaC#.net datatype
0 Voto
1 RespostaQuente hoje
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes