Sesiones de PyR
What is hexadecimal
3 Votos
2 RespuestasOctal system
2 Votos
1 RespuestaparseInt() method
1 Voto
2 RespuestasJava
0 Votos
4 Respuestaswhy is it <=36?
1 Voto
2 Respuestas#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 RespuestasEn tendencia hoy
Question
3 Votes
overloading operators << >>
1 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes