To use an output file in a C++ program you must

A) make sure the file already exists.
B) create a file stream object that will "point to" (i.e. reference) the file.
C) open the file.
D) do all of the above.
E) do B and C, but not A.


E) do B and C, but not A.

Computer Science & Information Technology

You might also like to view...

Which of the following processes permits a DNS server to keep track of which IP addresses it has provided most recently for a specific translation and to rotate the IP addresses within the pool?

A. IP spoofing B. name resolution C. FQDN D. DNS round robin

Computer Science & Information Technology

When using the window.confirm() method, if the user hits the Cancel button, ____.

A. a loop will execute B. a value of true is returned C. the dialog box remains open D. a value of false is returned

Computer Science & Information Technology

The word ____ is placed before the Sub keyword when creating a Sub procedure to specify that the procedure can be called only by code within the class in which it exists.

A. Contained B. Private C. Inner D. Distinct

Computer Science & Information Technology

Media players often allow you to burn audio CDs.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology