Outfile Creation Help!

Hello. I have my code all working but now I want to reduce the number of inputs. Basically I want to do the following:

User will input the data filename to work with, lets call it "DataSet.txt"
I want to generate three output files named:
"DataSet_Platform.txt"
"DataSet_Data.txt"
"DataSet_Time.txt"

I want this to auto-generate these three file names for data output from my code, every single time no matter what the name of the input data is. So if the input data was "TestSubject.txt" I want three files called:
"TestSubject_Platform.txt"
"TestSubject_Data.txt"
"TestSubject_Time.txt"

I hope this makes sense, can't figure this out to save my life.
Last edited on
Check: http://www.cplusplus.com/doc/tutorial/files/ and paste your code for more specific help.

Aceix.
Topic archived. No new replies allowed.