+ 1
remove last output C++
How can i remove the last output of a code so it cannot stack them in CMD and not to show all the process ? lets say if i have a number generator and it will generate me a number each time i type "number. i want to see ONLY one number each time i type it , so if i type 100 times "number" the CMD will only show one number and not all 100 of them ?
4 Respostas
+ 2
We don't have a function to clear the screen in namespace std.
+ 1
clrscr();
+ 1
There is no way to do that without additional libraries.
0
Can you clarify please ?