What is the output object?
ofstream
What is the input object?
ifstream objectName
How do you open a file?
fileObject.open(fileName)
How do you close a file?
fileObject.close(fileName)
How do you open an output file?
ofstream objectName
eof()
End of file function returns a boolean value.