Then MSVC doesn't have that function...
try rkjd2's suggestion of using windows
I am suprised that you cannot compile that. I have it in Borland. You would think that a Microsoft product would have it...
that will work... sorry to confuse you. I am having a slow brain day...Code:# include <windows> # include <iostream> using namespace std; int main() { cout << "test"; Sleep (10000); // ten seconds cout << "complete"; return 0; }