diff options
Diffstat (limited to 'CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp')
| -rw-r--r-- | CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp index 25a5632..0499493 100644 --- a/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp +++ b/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp @@ -99,7 +99,7 @@ int main() PrintTotalsAndSummary(outFile, record_counter); outFile.close(); } - else + else //Only outputs this else if the input file path is good. Otherwise it just jumps to the other else. { cout << "Trouble Opening Output File"; cout << "\n\n\t\t ** About to EXIT NOW! ** "; |