Originally Posted by
muffinman8641
Never mind, got #1. I cheated and used goto though. :/
Code:
cout << "Press any key to refresh. ";
cin.get();
goto start;
#2 anyone?
Don't use goto. Use a loop. Ie:
Code:
while (refresh)
{
//...
cout << "Press any key to refresh. ";
cin.get();
}
Originally Posted by
muffinman8641
Just sleep(x);?
x meaning a number of milliseconds./
No, like so
Code:
#include <Windows.h> // Don't forget!!
Sleep(x);
Where x is the number of milliseconds.
(C++ is case sensitive; don't forget!)