Question: Assuming diskInfo is an fstream object, write a statement that opens the file names.dat for output. Write a statement that closes the file associated with
Assuming diskInfo is an fstream object, write a statement that opens the file names.dat for output. Write a statement that closes the file associated with the file stream object outFile.
Assuming diskInfo is an fstream object, write a statement that opens the file customers.dat for output, where all output will be written to the end of the file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
