From fa8d58123500ba7ff0986124e5d5355771d54fc5 Mon Sep 17 00:00:00 2001 From: Andrei F Date: Tue, 1 Nov 2022 22:44:49 -0700 Subject: Finished part 2 --- CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 7 +++++-- 1 file changed, 5 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 ba5ea16..5147bc6 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -57,6 +57,9 @@ but it went one over than what it was supposed to. * 5) Update the file related error messages within the code * to also provide the specific name of the file that is having a * problem. + +Done. + * 6) Rebuild and execute your program to verify that your messages * are correct. * 7) Correct the path names. @@ -112,13 +115,13 @@ int main() } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening Output File"; // Added "Output" cout << "\n\n\t\t ** About to EXIT NOW! ** "; } } else { - cout << "Trouble Opening File"; + cout << "Trouble Opening Input File"; // Added "Input" cout << "\n\n\t\t ** About to EXIT NOW! ** "; } return 0; -- cgit v1.2.3