how to enfore deley of few seconds for any cout statement

Dear i am writing a basic code for example

1
2
3
4
5
6
7
cout<<"Welcome To My World ";
cout<<" Please choose any number from 1 - to 10 ";
cin>>any_veriable;
system("CLS");
cout<<"\n\n\n\n\n\n---------Please Wait----------";
system("CLS")
/*more coding*/


i want to hold line number 5
---------Please Wait----------
for 10 seconds then move further. how can i?
Look at the sleep() function.
Thankssssssssssssss It works love you
Topic archived. No new replies allowed.