I would like to know if there is a way in C to overwrite an existing value that has already been printed instead of creating a new line every time or just movin
C
You can print out as many newlines as the console screen has. This will effectively clear the screen.
This is a great link about clearing screen in different ways.