summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirducken <[email protected]>2022-11-07 22:39:43 -0800
committerBirducken <[email protected]>2022-11-07 22:39:43 -0800
commit638f55c1f2bbd9ebd1b639bf71e075cf5ce1efb0 (patch)
treecabe0d230755feb514621a09d78bb050ea172c65
parentRemoved erroneous backslashes. (diff)
downloadcst116-ch11-debugging-stark-638f55c1f2bbd9ebd1b639bf71e075cf5ce1efb0.tar.xz
cst116-ch11-debugging-stark-638f55c1f2bbd9ebd1b639bf71e075cf5ce1efb0.zip
Added erroneous file names.
-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..23be1a4 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("repor.txt");
- inFile.open("data.txt");
+ inFile.open("dat.txt");
if (inFile.is_open())
{