diff options
Diffstat (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
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; |