File Operations Flashcards
1
Q
What is the output object?
A
ofstream
2
Q
What is the input object?
A
ifstream objectName
3
Q
How do you open a file?
A
fileObject.open(fileName)
4
Q
How do you close a file?
A
fileObject.close(fileName)
5
Q
How do you open an output file?
A
ofstream objectName
6
Q
eof()
A
End of file function returns a boolean value.
7
Q
A