summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-11-08 19:49:05 -0800
committerCEOofOogaBooga <[email protected]>2022-11-08 19:49:05 -0800
commitb40360f20b38172b69c44ba3bc1778e4f9d0e62f (patch)
tree4510a56e6cb311913465308be86ae94734a04666 /CST116-Ch11-Debugging
parentE (diff)
downloadcst116-ch11-debugging--trinh--master.tar.xz
cst116-ch11-debugging--trinh--master.zip
CH11 FInished (I had problems)HEADmaster
Diffstat (limited to 'CST116-Ch11-Debugging')
-rw-r--r--CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
index 2af8ee0..3cb80a3 100644
--- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
+++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
@@ -83,11 +83,11 @@ int main()
int record_counter(0);
ifstream inFile;
-
+ // My computer refuses to output/run properly
// Notice how this automatically opens the file
- ofstream outFile("C:\\TEMP\\Chap_11_Report.txt");
-
- inFile.open("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST Homework\\CST116 Ch11\\CH11 text file.txt");
+ ofstream outFile("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST_Homework\\CST116_Ch11\\Output.txt");
+
+ inFile.open("C:\\Users\\furyf\\OneDrive\\Desktop\\Homework\\CST_Homework\\CST116_Ch11\\CH11_text_file.txt");
if (inFile.is_open())
{
@@ -102,13 +102,13 @@ int main()
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening File, out file";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
}
else
{
- cout << "Trouble Opening File";
+ cout << "Trouble Opening File, in file";
cout << "\n\n\t\t ** About to EXIT NOW! ** ";
}
return 0;