summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirducken <[email protected]>2022-11-07 22:36:49 -0800
committerBirducken <[email protected]>2022-11-07 22:36:49 -0800
commit9a447a11c7de6c05d61f95a827b045d5fc9fa9cb (patch)
tree0c95766b651748c6b97f4239c86abc992602f771
parentFinished exercise 1. (diff)
downloadcst116-ch11-debugging-stark-9a447a11c7de6c05d61f95a827b045d5fc9fa9cb.tar.xz
cst116-ch11-debugging-stark-9a447a11c7de6c05d61f95a827b045d5fc9fa9cb.zip
Added erronious backslashes.
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index e2e41ae..d465fda 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("report.txt");
+ ofstream outFile("\\report.txt");
- inFile.open("data.txt");
+ inFile.open("\\data.txt");
if (inFile.is_open())
{