diff options
| author | CEOofOogaBooga <[email protected]> | 2022-11-08 19:49:05 -0800 |
|---|---|---|
| committer | CEOofOogaBooga <[email protected]> | 2022-11-08 19:49:05 -0800 |
| commit | b40360f20b38172b69c44ba3bc1778e4f9d0e62f (patch) | |
| tree | 4510a56e6cb311913465308be86ae94734a04666 /CST116-Ch11-Debugging | |
| parent | E (diff) | |
| download | cst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.tar.xz cst116-ch11-debugging--trinh--b40360f20b38172b69c44ba3bc1778e4f9d0e62f.zip | |
Diffstat (limited to 'CST116-Ch11-Debugging')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 12 |
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; |