summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp4
-rw-r--r--Chapter_11_data_2.txt6
2 files changed, 8 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 53830da..6c9df83 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -81,9 +81,9 @@ int main()
ifstream inFile;
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
+ ofstream outFile("C:\\Users\\wythe\\source\\repos\\cst116-ch11-debugging-johnson\\Chapter_11_data_2.txt");
- inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ inFile.open("C:\\Users\\wythe\\source\\repos\\cst116-ch11-debugging-johnson\\Chapter_11_data_2.txt");
if (inFile.is_open())
{
diff --git a/Chapter_11_data_2.txt b/Chapter_11_data_2.txt
new file mode 100644
index 0000000..aa68093
--- /dev/null
+++ b/Chapter_11_data_2.txt
@@ -0,0 +1,6 @@
+Wyatt 19
+Thomas 21
+Jimboy 9
+Allen 26
+JOE 42
+Allen_2 24