File Operations Flashcards

1
Q

What is the output object?

A

ofstream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the input object?

A

ifstream objectName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you open a file?

A

fileObject.open(fileName)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you close a file?

A

fileObject.close(fileName)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you open an output file?

A

ofstream objectName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

eof()

A

End of file function returns a boolean value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly