Well, I am making a tic-tac-toe game, and I need a way to make it so when the person enters their name it adds a ".txt" to the end of their name.
For example:
What is your name?
Robert
*ifstream infoout("Robert.txt");*
The .txt highlighted in red is what I need to add to the name..