Hello everyone. I've noticed that if you press a space bar it will automatically go to the next cin>>; Here is what I mean:
And the output would be like this:Code:#include <iostream> using namespace std; int one; int two; int main() { cout<<"Insert first Integer: "; cin>>one; cout<<"Insert Second Integer: "; cin>>two; cout<<"\n"<<one<<" "<<two; system("PAUSE"); return 0; }
Why does this happen?? Please Help me.Code:Insert first Integer: 3 4 Insert Second Integer: 3 4 Press any key to continue...