Why don't system("cls") or system("clear") work in vscode c++? (c++17 gcc)

61 views Asked by At

They don't clear the terminal after the program be finished.

I tried flushing the output stream but nothing.

It prints abnormal messages.

System() overall does that but if I remove it from the code, the output returns normal.

0

There are 0 answers