Обсуждения
[SOLVED]Explain the output?
8 голосов
5 ответовPlease... Explain...
0 голосов
2 ответовwhy is it giving n??
0 голосов
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 ответовPlz explain output?
0 голосов
2 ответовPlease Helpp
1 голос
1 ответCÁLCULO DE FATORIAL E VARIAVEIS
0 голосов
4 ответовC#.net datatype
0 голосов
1 ответАктуальное сегодня
I need help
1 Votes
My hearts are disappering :(
0 Votes
a phone or a laptop
0 Votes
Pressure and tension
2 Votes
Where is code bit
0 Votes