12.1: File Operations: 11314

Question

Given an  ifstream object named  input , associate it with a file named  hostdata by opening the file for input.

Solution
input.open("hostdata",ios::in);

No comments:

Post a Comment