I am creating a little game using C++, I want it to go to the next frame automatically and ignores waiting for input, then, if a key is pressed it inputs it to the variable and repeat (to the next frame)
my current game is https://www.onlinegdb.com/B1oTXc5-8 but you have to press enter key evry time you want to move, and it also doesn't update until you move or type any gibberish.