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?

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...

A ____ is a search initiated by users in an attempt to retrieve certain information from the database.

A. template B. query C. request D. sequence

Computer Science & Information Technology

Check Point Firewall 1 combines stateful packet inspection with application gateway

Indicate whether the statement is true or false.

Computer Science & Information Technology

The ____ command is used to disable configured interfaces.

A. ip B. ifup C. ifdown D. ifconfig

Computer Science & Information Technology

The topic of a formal debate is known as the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology