When I make a code like this:

Code:
cout<<"hello world";
clrscr();
It dóés do the clrscr() command, but before the cout! So it first cleans the screen, and thán cout the text! I have the same problem with printing something to the screen and then use getch to continue. In that case it doesn't display the text 'press a key to continue' but it first waits for input and thén puts out the text I use VC++6, do you know how I can make sure the order is correct?