Using the file object declared below, write the statement to open an actual file called "datafile.txt" for output purposes.
?
ifstream outFile;

What will be an ideal response?

outFile.open("datafile.txt", ios::out);oroutFile.open("datafile.txt");

Computer Science & Information Technology

You might also like to view...

A 4G network is an example of a(n) ________ network, which is used to transmit voice and data over large distances

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is FALSE about Normal view in PowerPoint?

A) It opens with the Slide pane on the right. B) It is displays slide thumbnails on the right. C) It is the view in which you can write and design your presentation. D) It is the primary editing view.

Computer Science & Information Technology