I'm making a little game in c++ (using terminal) and I have a few questions for doing some things.
1.) Is there a way where I can position something (like a variable) towards the bottom of the terminal and stay there?
2.) Is there a way where I can clear the terminal? Like have it ask a question then erase that question and ask another one.
3.) If I wear to have a perm. placed var, how could I update that var without calling it again. (Lets say you have a money variable equal to 10 and you subtract 5 from it and without doing anything the number automatically updates with the new value of 5.
1.) Is there a way where I can position something (like a variable) towards the bottom of the terminal and stay there?
2.) Is there a way where I can clear the terminal? Like have it ask a question then erase that question and ask another one.
3.) If I wear to have a perm. placed var, how could I update that var without calling it again. (Lets say you have a money variable equal to 10 and you subtract 5 from it and without doing anything the number automatically updates with the new value of 5.