Chapter 12: Problem 43
Write two statements that use a file stream object named pets to open a file named pets.dat. (Show how to open the file with a member function and at the definition of the file stream object.) The file should be opened for input.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.