summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-11-01 19:27:58 -0700
committerprestonderek <[email protected]>2022-11-01 19:27:58 -0700
commitd6d85baea968a4b44ee5a51b84b7e46474cbc599 (patch)
tree99020711acbce177cb690cbc66856d0971e9307b /CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
parentAdded my output file and ran program. It told me trouble opening file. This w... (diff)
downloadcst116-ch11-debugging-prestonderek-d6d85baea968a4b44ee5a51b84b7e46474cbc599.tar.xz
cst116-ch11-debugging-prestonderek-d6d85baea968a4b44ee5a51b84b7e46474cbc599.zip
commit for report log
Diffstat (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 53830da..3502ab1 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -81,9 +81,11 @@ int main()
ifstream inFile;
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
+ // ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
- inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ //inFile.open("C:\\TEMP\\Chap_11_data.txt");
+ ofstream outFile("C:\\temp\\Chap_11_Report.txt");
+ inFile.open("C:\Users\prest\source\repos\cst116-ch11-debugging-prestonderek\Debug11File1.txt");
if (inFile.is_open())
{