Ok, here's the situation....I have this code...
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout << "\nBlah, and Blah\n\n";
system\("PAUSE"\);
return 0;
}
Now, "system("PAUSE")" gets executed before "cout" does, and I have absolutely no idea why, so when I type this in instead...
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf ("\nBlah, and Blah\n\n");
system\("PAUSE"\);
return 0;
}
...it works just fine....it's like printf has precidence over cout, which I need to fix. So, does anyone know another way for a PAUSE using cout, and does anyone have anymore information on why this situation occurs? Thanks!
Mike