|
is there anyway for the computer to skip the cin>>myChar if no data is entered? cause otherwise, the loop will stop once every cycle for me to hit enter. that's no good. could i use the 'keybd_event(i,0,0,0);' event to hit enter, if no data is entered? my whole problem hinges around the fact that i know no way of skipping a cin without putting in data. any help?
|