In order, the three-step process of using a file in a C++ program involves

a. insert a disk, open the file, remove the disk
b. create the file contents, close the file, name the file
c. open the file, read/write/save data, close the file
d. name the file, open the file, delete the file
e. None of these


c. open the file, read/write/save data, close the file

Computer Science & Information Technology

You might also like to view...

When the Web form default.aspx is added to a project, another file named __________ is also created.

a. default.asp b. default.aspx.vb c. default.config d. default.vb

Computer Science & Information Technology

Write single C++ statements or portions of statements that do the following:

a) Input integer variable x with cin and >>. b) Input integer variable y with cin and >>. c) Set integer variable i to 1. d) Set integer variable power to 1. e) Multiply variable power by x and assign the result to power. f) Preincrement variable i by 1. g) Determine whether i is less than or equal to y. h) Output integer variable power with cout and <<.

Computer Science & Information Technology

The include statement and the require statement perform the same function and can be used interchangeably.

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

Computer Science & Information Technology

Documentation is not a necessity.

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

Computer Science & Information Technology