diff options
| author | WiserJ <[email protected]> | 2021-11-23 15:59:55 -0800 |
|---|---|---|
| committer | WiserJ <[email protected]> | 2021-11-23 15:59:55 -0800 |
| commit | 83594324c21b719ddbf2f79bcccc5b6ae40a6b00 (patch) | |
| tree | 448ad020f63a6c1f900d4f83737f4c898e6d65f1 /TextFile1.txt | |
| parent | Add online IDE url (diff) | |
| download | cst115-lab8-jeffwoit-master.tar.xz cst115-lab8-jeffwoit-master.zip | |
Diffstat (limited to 'TextFile1.txt')
| -rw-r--r-- | TextFile1.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/TextFile1.txt b/TextFile1.txt new file mode 100644 index 0000000..d02b7c3 --- /dev/null +++ b/TextFile1.txt @@ -0,0 +1,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
\ No newline at end of file |