chapel1337
chapel1337

Reputation: 17

_kbhit() not integer when trying to sleep thread

i'm trying to make a stopwatch pause by making the thread sleep until a key is pressed, but _kbhit() will not return an integer?

the error is displayed in the image below: enter image description here

i tried to a quick search but wasn't able to find a solution to my problem

Upvotes: 0

Views: 70

Answers (0)

Related Questions