Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

ВыгоГно ли ŠøŃŠæŠ¾Š»ŃŒŠ·Š¾Š²Š°Ń‚ŃŒ <bitset>
binarybitsetc++
0 Votes
2 Answers
6th Jan 2018, 12:03 AM
Данил ŠšŃƒŠ“рицкий
Данил ŠšŃƒŠ“рицкий - avatar
Is it possible to get a part from bitset<8> and put it into bitset<6>
<bitset>cpp
1 Vote
1 Answer
4th Jun 2018, 9:32 AM
Ixidot
Ixidot - avatar
#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; }
c++
2 Votes
5 Answers
18th Jun 2016, 10:43 PM
Utpal Kumar
Utpal Kumar - avatar
Hot today
Hello! I’m 15 and I want to learn programming to become a web developer. Any advice?
0 Votes
help string permutation
0 Votes
Any easy game ideas for beginners?
0 Votes
Code is wrong somehow, I need help!
0 Votes
How many courses are there on Sololearn
1 Votes
APP FREEZING
0 Votes
Newb
0 Votes
Is the Python Developer course the final course of Python?
0 Votes
@sololearn Python
1 Votes
How to increase My Level is SoloLearn ?
0 Votes