Question: C++ 18. What may cause an input stream to enter the fail state? What happens when an input stream enters the fail state? 19. Which
C++
18. What may cause an input stream to enter the fail state? What happens when an input stream enters the fail state? 19. Which header file needs to be included in a program that uses the data types ifstream and ofstream? 20. Suppose that infile is an ifstream variable and employee.dat is a file that contains employees information. Write the C++ statement that opens this file using the variable infile.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
