diff options
| author | prestonderek <[email protected]> | 2022-11-01 19:35:23 -0700 |
|---|---|---|
| committer | prestonderek <[email protected]> | 2022-11-01 19:35:23 -0700 |
| commit | 7842e1d0ae786d8437be891d3b9857b0612fa918 (patch) | |
| tree | df6fb544ec629412606af881c0abbbf68ea3f4f0 /CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp | |
| parent | Commit for ending of checking error messages (diff) | |
| download | cst116-ch11-debugging-prestonderek-7842e1d0ae786d8437be891d3b9857b0612fa918.tar.xz cst116-ch11-debugging-prestonderek-7842e1d0ae786d8437be891d3b9857b0612fa918.zip | |
added comment about the else statement for output file error.
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! ** "; |