• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

Meaning if std::cin and std::cout ?
cc++programming
3 Votes
5 Answers
8th Jan 2017, 3:44 PM
Fahmeen Mazhar
Fahmeen Mazhar - avatar
How to anticipate single or multiple input failure(s) when input(s) are read in using C++ std::cin and extraction operator >>
c++error-handlinginput-output
4 Votes
2 Answers
27th Mar 2023, 6:25 AM
Ipang
Why is my code not asking for an input???
c++inputiostreamstd::cin
0 Votes
3 Answers
16th Aug 2021, 2:09 PM
Rishi
Rishi - 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
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes