Getting input without stopping code (preferably in c++)
roysun (1)

I am currently working on a text game where people have to type stuff to react to events written in the console. There is a main loop that constantly updates what is written in the console. Also,the time factor here is important (the faster the user reacts and types the better it is for them).

So is there a way to get input without stoping the loop in c++? If not, I am willing to learn another language for this purpose (am looking for one anyways). Thanks!

You are viewing a single comment. View All
Answered by theangryepicbanana (857) [earned 5 cycles]
View Answer
roysun (1)

@theangryepicbanana Oh, just got the idea and started it, but realized that I was stuck here.... I could link it but there's literally nothing there....