0

How to erase display text?

Hi, I write some text, for example "Hello world", and I need to erase it. Programming languages: C++ C# Pyton Consoles: Local Windows debugger, Sololearn, Online compilers as ideone, cpp shell, online GDB

30th Nov 2020, 10:59 AM
Hard Maker
Hard Maker - avatar
2 Answers
0
Here you got examples of how i would do it in python (don't remember how to do it with C# and C++), i hope this to be helpful for you. PYTHON: import os os.system("clear") OR import subprocess subprocess.call("clear") Those examples clean all window. if you got other question u got a friend hereâ˜ș
30th Nov 2020, 11:26 AM
Hacker-KR4636
Hacker-KR4636 - avatar
0
Erase SoloLearn from that list, sololearn doesn't support erasing console text.
13th Dec 2020, 7:40 AM
Hacker-KR4636
Hacker-KR4636 - avatar