Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
#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 Antwortenhello guys? how are you. i am zeeshan ali from pakistan. i have been in touch with this app for a very long long time. i have found so many friends awesome.. and we do combine study over the internet. anyone of you is interested then join us on facebook by searching this number 03033951255
0 Stimmen
4 AntwortenEnum,private,finale
4 Stimmen
4 AntwortenCÁLCULO DE FATORIAL E VARIAVEIS
0 Stimmen
4 AntwortenTo bind two things of similar origin but separate identities together as one unit with ability to function independently as long and the unit is not corrupted. How to set x to get y and become z permanently and protect the unit from corrupt or deviation or denying or hiding while z securely functions actively is the purpose.
0 Stimmen
1 AntwortHeute heiß
3 consecutive words
1 Votes
c++ help
1 Votes
Access deny problem
2 Votes
What's wrong with my code?
0 Votes
How to insert a link into code
0 Votes
A small question
0 Votes
My future
0 Votes
How to complete
1 Votes