+ 1
Replace existing output line in C++
This might be a stupid question but I want to know how to replace an existing output in C++. For example, if I were to print multiple things to the command line it would either add on to the current line or break to a new line. Here's an example picture of what I'm talking about: https://i.stack.imgur.com/G7xH3.png
3 Respuestas
0
not sure, Ben Allen (Njinx) but if this helps, in c its:
system("clear";
and i know C++ share a ton of the same syntax so
0
it clears every like in the command line though
0
so youd have to immediately print it back to make the effect of clearing it and HOLY SHIT THIS WAS 6 YEARS AGO