I’m creating a Tic tac toe game, in that after click made by user automatically the cpu will respond. I want the cpu response after 0.50 seconds, the sleep() function takes too many time, I don’t want that much time, is there any other way to do so?
Share
usleep(500000)