I made a tic tac toe game program. Whenever a player makes a move it tells the new field statistics on new lines. How can I make it so that it does not use new lines but changes the previous lines to give the new field statistics.
You can't. Once it has been printed to the console you can't change it. Though you could clear the screen and reprint the whole board with the updated board. This will give the illusion that it is replacing stuff.
If you are just messing around with your own stuff you could use system calls to do this but I would highly highly recommend you not get into the habit of doing so.
Instead you can use platform specific to clear the screen. Here is a tutorial which shows the options http://www.cplusplus.com/articles/4z18T05o/ .