I'm trying to make a text adventure game, based on console environment, and I have a simple, but hard to solve problem for me.
Well, it's a little bit hard to explain. In short, "Output above of Input".
Let me explain. When you are reading some text, and you want to read the next line, and the next line of text is displayed above input cursor like:
output text example
output text example 2
Input>
and you press return,
output text example
output text example 2
output text example 3
Input>
the console will look like this.
I tried to google before I posted a question on Stack Overflow, but I couldn't think of a proper keyword to google it. And I'm not sure this explanation is enough for you to understand.
Nevertheless, if you let me know how to make them with C++, it will be appreciated so much.
Regards