ok i was wondering whether there was any type of pause and process function like vb has DoEvents() which makes sure that everything stak'd or qued to be output or drawn has been drawn or output, for example in c++ (platform = dos) i enter a ticker loop and want the loop to say do any qued events before the equality is met,
ok as im no good @ explaning heres an example (using half pseudo code):
Code:
while(ticks<lastticks+interval)
{
cout<<"hey";
//like maybee a doevents here or a wait process
}
//this would output (say if it looped 10 times) hey*10 but at the
//end of the loop, how would i enable it to output hey 1 at a time
//after each cout?