+ 3
how can i make my system accept two inputs in c plus plus: one at a time
It only gives me a chance for 1 input _ I used code blocks _ although I coded it this way: Int dribble; Int pass; Cout << "type of dribble skill \n"; Cin >> dribble; Cout << "type of pass \n"; cin >> pass;
7 Answers
+ 3
Manoj Singh Oh ok, I'm not familiar with the Code Playground. You're probably right.
+ 2
What do you mean by 2 inputs at once? Two inputs in the same field?
+ 2
you've to put multiple inputs with spaces
like 123 456
+ 2
Oh..i get it now. I only need a space for my second input. Thanks pals..u've been helpful.
+ 1
Akib Reza That would simply assign the inputted value to 2 variables. I believe that he wants 2 inputs in one variable or something.
+ 1
Ben Allen (Njinx) He is little confused with solo learn's code playground because it doesn't show pop-up every time a input required it takes all inputs at once which separated by spaces.
0
I'm outta here.