Go to the next instruction without pressing enter
- by louie
hi guyz
my problem is trying to go to the next instruction without pressing enter.. this is my code
cout<<"Enter Date Of Birth: ";
cin>>day;
cout<<"/";
cin>>month;
cout<<"/";
cin>>year;
by only providing 2 digit number for day, i want the next instruction to get printed without me pressing enter, and so goes to the rest month and year. since year is the last, i can press enter after that.