I am making a program and i want it to show a number, and after a certain amount of seconds i want it to delete that line because its a memory game where it shows you a random number and then you have to remember what it was. Now, my program does all of that except delete the numbers, i was going to use sleep, and then system("cls") but that clears everything, is there a way to delete a certain line of code??
this is hard to do because c++ was not built to be consul dependent and relies mainly on a GUI program to do things like this. there are system commands that might do this but it is a bad habit to get into.