diff options
| author | JonCr <[email protected]> | 2022-12-03 23:55:59 -0800 |
|---|---|---|
| committer | JonCr <[email protected]> | 2022-12-03 23:55:59 -0800 |
| commit | 38d0d70d1a5541e83c7b8c2add993e764b885701 (patch) | |
| tree | d8474b45cffbe22556777916143741e85e4bb9fa /CST116-Ch11-Debugging | |
| parent | Initial commit (diff) | |
| download | cst116-ch11-debugging-cognitiveshadow-master.tar.xz cst116-ch11-debugging-cognitiveshadow-master.zip | |
Diffstat (limited to 'CST116-Ch11-Debugging')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 53830da..1ac97e6 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -83,6 +83,7 @@ int main() // Notice how this automatically opens the file ofstream outFile("C:\\TEMP\\Chap_11_Report.txt"); + //inFile.open("C:\\TEMP\\CST116-Ch11-Crombie-data.txt"); inFile.open("C:\\TEMP\\Chap_11_data.txt"); if (inFile.is_open()) @@ -98,13 +99,13 @@ int main() } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening File: Chap_11_Report.txt"; cout << "\n\n\t\t ** About to EXIT NOW! ** "; } } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening File: CST116-Ch11-Crombie-data.txt"; cout << "\n\n\t\t ** About to EXIT NOW! ** "; } return 0; |