• 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
generic programming understanding memory ownership
0 Votes
overloading operators << >>
1 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
Default constructor and default assignment operator
0 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes
Issue in code
0 Votes
My question is about python?
0 Votes