looking for some solutions? You are welcome.

SOLVED: Exiting a loop without having a window active and sleep in C++

JAR:

I am searching for a method to exit a loop while I don't have a window active (I can't use command window functions like getchar and so on).

Also, the loop has sleep involved. How can I get out of the loop at any time by pressing a key? I have tried Getkeystate, but it won't work because of the sleep. Or is there at least a way of getting the keypress in some sort of buff, that the loop stops as soon as it reaches the start again?



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE
Share:

No comments:

Recent