Guest_imported
New member
- Jan 1, 1970
- 0
I have a questions about file output.
1. How do I pass an outFile to a function that will write to the file?Do I open it before I pass it or open it in the Write function? ex. OutFile.open("Blah"
ex. void main()
{ ofstream OutFile;
}
1. How do I pass an outFile to a function that will write to the file?Do I open it before I pass it or open it in the Write function? ex. OutFile.open("Blah"
ex. void main()
{ ofstream OutFile;
}