To signal a failure on the input stream accessed by infile, use the statement

a. infile.fail();
b. infile.reset ( ios::failbit );
c. infile.setstate ( ios::failbit );
d. infile.eof();


c. infile.setstate ( ios::failbit );

Computer Science & Information Technology

You might also like to view...

The check boxes shown in the accompanying figure are options for ____ when inserting the page elements in question.

A. layouts B. prompts C. templates D. themes

Computer Science & Information Technology

Icons that represent currently running programs, hardware, or events, such as an incoming email message, are known as ________ icons

Fill in the blank(s) with correct word

Computer Science & Information Technology

If an application is not compatible with Windows 7, one option is to replace the application with a similar application that is compatible with Windows 7

Indicate whether the statement is true or false

Computer Science & Information Technology

Solve the linear equation.

A.
B.
C.
D.
E. no solution

Computer Science & Information Technology