summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-11-28 14:45:38 -0800
committerjacobdw22 <[email protected]>2022-11-28 14:45:38 -0800
commita813fe37f5dcfc8b10a901f1dab6cdcbb9e6cd57 (patch)
treed879eb522024edfa699408cf6e8197d5bd056615 /CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
parentAdded pseudo-code file. Final changes (diff)
downloadcst116-ch11-debugging-jacobdw22-a813fe37f5dcfc8b10a901f1dab6cdcbb9e6cd57.tar.xz
cst116-ch11-debugging-jacobdw22-a813fe37f5dcfc8b10a901f1dab6cdcbb9e6cd57.zip
Diffstat (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 868a32a..f65b5ed 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -82,7 +82,8 @@ int main()
ifstream inFile;
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP1\\Chap_11_Report.txt");
+ ofstream outFile;
+ outFile.open("C:\\TEMP1\\Chap_11_Report.txt");
inFile.open("C:\\TEMP1\\Chap_11_data.txt");