aboutsummaryrefslogtreecommitdiff
path: root/TextFile1.txt
diff options
context:
space:
mode:
authorWiserJ <[email protected]>2021-11-23 15:59:55 -0800
committerWiserJ <[email protected]>2021-11-23 15:59:55 -0800
commit83594324c21b719ddbf2f79bcccc5b6ae40a6b00 (patch)
tree448ad020f63a6c1f900d4f83737f4c898e6d65f1 /TextFile1.txt
parentAdd online IDE url (diff)
downloadcst115-lab8-jeffwoit-83594324c21b719ddbf2f79bcccc5b6ae40a6b00.tar.xz
cst115-lab8-jeffwoit-83594324c21b719ddbf2f79bcccc5b6ae40a6b00.zip
Diffstat (limited to 'TextFile1.txt')
-rw-r--r--TextFile1.txt19
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