Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
That is the thing, how many of these people don't realise they are using AI? If they use Google Search they have no choice but to use AI. So yes, maybe half of American adults do use and I expect a lot of Uk adults do to, but I bet most of them don't realise it.
Myself, i avoid the rubbish.
Question
wa22guy
Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
How?
Link to comment
https://www.neowin.net/forum/topic/231284-c-how-do-i-pausedelaywait-in-c/Share on other sites
18 answers to this question
Recommended Posts