Delete output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Delete output

How do I disappear/delete one output after sort ?

23rd Mar 2024, 9:56 AM
Giannis Kallergis
Giannis Kallergis - avatar
4 Answers
+ 2
it also depends on your os, what terminal you are using and your compiler. clearing the screen is not a standard function https://www.geeksforgeeks.org/how-to-clear-console-in-cpp/
25th Mar 2024, 11:51 AM
Bob_Li
Bob_Li - avatar
+ 1
Can you give an example what you mean?
23rd Mar 2024, 2:47 PM
Black Winter
+ 1
You can use the clear screen command but is not supported from all compilers .
24th Mar 2024, 12:45 PM
Black Winter
0
For instance, I want to show" Hello " and after in an empty screen " Bye " But not like this : Hello Bye
23rd Mar 2024, 4:52 PM
Giannis Kallergis
Giannis Kallergis - avatar