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 (851) [earned 5 cycles]
View Answer