aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-08 15:10:49 -0700
committerTaylor Rogers <[email protected]>2022-10-08 15:10:49 -0700
commit6744964fa0d8a84a7ec2cd749148da6035d421ed (patch)
tree27c818bea8539d4a6620e63ab8494aa3d4931934 /CST116-Ch7-Debugging
parentAnswered exercise 3 Q3 (diff)
downloadcst116-ch7-debugging-taylorrog-6744964fa0d8a84a7ec2cd749148da6035d421ed.tar.xz
cst116-ch7-debugging-taylorrog-6744964fa0d8a84a7ec2cd749148da6035d421ed.zip
Answered exercise 3 Q5
Diffstat (limited to 'CST116-Ch7-Debugging')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
index 312dcf8..18d240c 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -54,6 +54,9 @@
* 4) Re-run the program this time with debugging and run to
* Breakpoint 2.
* 5) Why is the action with the else executing?
+*
+* I think it is because nothing will happen if it executes, so its the same as not excuting at all. Not really sure on this one.
+*
* 6) Fix the problem and re-run to verify the problem was corrected.
********************************************************************/