How to delay output?

–1 vote
asked 5 days ago by (120 points)

I tried using 

Sleep ( 1000 ); 

usleep(30000000);
and sleep(3);
does anyone know any other way?

1 Answer

0 votes
answered 5 days ago by anonymous
for(int a=0;a<3000000000;a++)

{

//Delay in C++

}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...