summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyatt <[email protected]>2022-11-08 19:01:23 -0800
committerWyatt <[email protected]>2022-11-08 19:01:23 -0800
commit3eae76f28dc7ce06c8c1b75b84b2942ead70ac6d (patch)
tree314122afbbd89c9dd7a5dd7ecd465149914ab297
parentInitial commit (diff)
downloadcst116-ch11-debugging-johnson-3eae76f28dc7ce06c8c1b75b84b2942ead70ac6d.tar.xz
cst116-ch11-debugging-johnson-3eae76f28dc7ce06c8c1b75b84b2942ead70ac6d.zip
changes the paths
-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