So I know that this is a very basic question, but I've been stuck trying to figure this out for a few days now.
I'm trying to write a program in C++ that deals with creating accounts and stuff like that. I'm trying to create a function that takes the username (which is a string) and formats it into a txt file which would be username.txt (also a string). But it has to be able to change with each new username that is created. Can anybody help?