I think you should post all the code. Then we can be clearer about what is expected at your level.
Type: Posts; User: Starstreak
I think you should post all the code. Then we can be clearer about what is expected at your level.
We can't see the whole program, but what I would do is call a separate method (or class) to write the file and pass it the file name as a parameter.
Why can't you use outputFileName1/2/3 ... etc?