From 6744964fa0d8a84a7ec2cd749148da6035d421ed Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Sat, 8 Oct 2022 15:10:49 -0700 Subject: Answered exercise 3 Q5 --- .vs/cst116-ch7-debugging-Taylorrog/v17/.suo | Bin 24064 -> 25600 bytes .../v17/Browse.VC.db | Bin 15200256 -> 15200256 bytes .vs/slnx.sqlite | Bin 331776 -> 331776 bytes CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 +++ 4 files changed, 3 insertions(+) diff --git a/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo b/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo index 6625b82..7fafcd3 100644 Binary files a/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo and b/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo differ diff --git a/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db b/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db index a6c9779..e11ef39 100644 Binary files a/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db and b/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db differ diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 40a8858..1691a60 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ 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. ********************************************************************/ -- cgit v1.2.3