• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

Meaning if std::cin and std::cout ?
cc++programming
3 Stimmen
5 Antworten
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 Stimmen
2 Antworten
27th Mar 2023, 6:25 AM
Ipang
Why is my code not asking for an input???
c++inputiostreamstd::cin
0 Stimmen
3 Antworten
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 Stimmen
5 Antworten
18th Jun 2016, 10:43 PM
Utpal Kumar
Utpal Kumar - avatar
Heute heiß
Need suggestions
1 Votes
Hello can anyone help me to learn gdscript
0 Votes
What coding language should i use to make a custom coding language?
0 Votes
progaming
1 Votes
Anyone Learning Godot?
1 Votes
Any easy game ideas for beginners?
0 Votes
hello world i need help
2 Votes
Which is more important CSS vs HTML vs JS?
1 Votes
How many courses are there on Sololearn
1 Votes
hi
1 Votes