From 38d0d70d1a5541e83c7b8c2add993e764b885701 Mon Sep 17 00:00:00 2001 From: JonCr Date: Sat, 3 Dec 2022 23:55:59 -0800 Subject: In progress and trying to figure it out in a panic --- CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp') 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; -- cgit v1.2.3