I would like to print some thing out. Then the user should be sble to input a number. Now i want to avoid the programm to jump to a new line. Possible?
and is it possible that the whole sentence appears and you have to input a number BETWEEN 2 words of the sentence?
As I understand it, input through cin is buffered. In order for the user's input to be sent to your program, they must press enter, moving the cursor to a new line.
I believe the curses console library can, among other things, solve your problem but it might be more than what you're looking for.