Assume you have opened and connected stream variables fileIn and fileOut. Assume further that you have finished with input file, but want to read the input file a second time. What is necessary to set the stream state to reread the file from the start? Explain.
What will be an ideal response?
To do this requires a call to the close() member function, then to call the open function a second time with the same physical file name.
Computer Science & Information Technology
You might also like to view...
The commands and features of Word are organized into a Ribbon separated by tabs
Indicate whether the statement is true or false
Computer Science & Information Technology
A company has various locations in a city interconnected using Metro Ethernet connections. This is an example of what type of network?
a. WAN b. CAN c. PAN d. MAN
Computer Science & Information Technology