Q&A Discussions
double darr?
-2 Votes
8 AnswersHow to make a game?
-2 Votes
14 Answershelp me plz, guide c++ ru
0 Votes
3 Answerswhat are c++ tokens
0 Votes
3 Answerswhat is type casting
1 Vote
2 Answerswhat is modules?
0 Votes
3 Answershow to create a game or app
0 Votes
4 Answerswhat is blank lines
0 Votes
3 AnswersPlease explain this 🙏
0 Votes
4 Answers#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 Votes
5 AnswersHot today
Web Development
3 Votes
Cybersecurity techies
4 Votes
Please complete this code.
0 Votes
What's wrong in my code?
2 Votes
Please answer.
0 Votes
What's wrong with code?
0 Votes
Introduction of html
0 Votes
Money Back
0 Votes
CSS or Tailwind
1 Votes