An alternative wait function?
Hey, I just joined the forums and I thought I'd dive straight in with a query. I am searching for a function that will wait, say 5 seconds, and then proceed with whatever comes next. For example:
cout << "Please wait\n";
<Some sort of pause function>
cout << "Did you enjoy your wait?\n";
Apparently, wait just waits until background processes are finished. The exact definition I found was "With no arguments, the wait command waits until all background processes known to the current shell have terminated".
Are there some arguments I need to add, or is a totally different function needed?