Learning to Code


So, i am learning C++ in college and could do with a hand on the formatting of my Rock, Paper, Scissors game, with the way the game works in CMD player 2 can easily see what Player 1 types, In lines 25 I tried adding a string that spams lines to try to clear the board but then player 2 has to scroll down to type which is just an inconvenience. is there anyway I can can clear the screen without having to scroll down or atleast a way that it scrolls the CMD back up to the line for Player 2’s entry.

Ill include a link to the code below.


So ive tried using system(“CLS”) instead but I sorta wish to avoid messing with the system and finding other ways, so if I can use the string and somehow scroll the screen to the correct line that would be much preferred.