I am tyring to create a programme where it writes certain information to a certain file. How do you make the file that it writes equal to a string that is typed in by the user. What i Put is:
Code:
ofstream a_file (name".txt");