creating files named by user
Posted on 2000-04-11
I'm working with a project for my data structures class and i need to create blank files to send information to and they need to be given a name entered by the user of the program.
The user is going to enter information on a town named Charleston. How do i create a file with the name Charleston once the user enters the name of the town.
I already made the class that sends the data to an external file but only if the name of the output file is given by me in the code.