summaryrefslogtreecommitdiff
path: root/CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-11-01 19:35:23 -0700
committerprestonderek <[email protected]>2022-11-01 19:35:23 -0700
commit7842e1d0ae786d8437be891d3b9857b0612fa918 (patch)
treedf6fb544ec629412606af881c0abbbf68ea3f4f0 /CST116-Ch11-Debugging/CST116-Ch11-Debugging.cpp
parentCommit for ending of checking error messages (diff)
downloadcst116-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.cpp2
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! ** ";