I remember that I saw completed programs in which you could cancel and delete text prompts. Usually all cout'ed text is static and cannot be removed from the screen, but I want to remove the text that was displayed by the program (for example, the program gives me a default name, which I can accept or delete and enter my own). I would suggest that I can fake keyboard input to apply erasable text to the console, but is there a cleaner way to do this? Thanks.
source share