aboutsummaryrefslogtreecommitdiff
path: root/TextFile1.txt
blob: d02b7c3133d8cac55546373f7e2c8a5556d4c166 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
p.317 #5
a. if(input_file.is_open())
{
	...
}
b. input_file >> lname[num_records] >> id[num_records] >> age;
	while(!input_file.eof())
	{
		num_records++;
		input_file >> lname[num_records] >> id[num_records] >> age;
	}
c. input_file.close();

#6
a. False
b. True
c. True
d. True
e. True