summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirducken <[email protected]>2022-11-07 22:37:19 -0800
committerBirducken <[email protected]>2022-11-07 22:37:19 -0800
commit86582ba2dd3de2ac23e2e541f1cfa8e40b739279 (patch)
treecc39e5b57351998e228b272bef91af0fe6668375
parentAdded erronious backslashes. (diff)
downloadcst116-ch11-debugging-stark-86582ba2dd3de2ac23e2e541f1cfa8e40b739279.tar.xz
cst116-ch11-debugging-stark-86582ba2dd3de2ac23e2e541f1cfa8e40b739279.zip
Removed erroneous 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 d465fda..e2e41ae 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())
{