aboutsummaryrefslogtreecommitdiff
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
parentAnswered exercise 3 Q3 (diff)
downloadcst116-ch7-debugging-taylorrog-6744964fa0d8a84a7ec2cd749148da6035d421ed.tar.xz
cst116-ch7-debugging-taylorrog-6744964fa0d8a84a7ec2cd749148da6035d421ed.zip
Answered exercise 3 Q5
-rw-r--r--.vs/cst116-ch7-debugging-Taylorrog/v17/.suobin24064 -> 25600 bytes
-rw-r--r--.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.dbbin15200256 -> 15200256 bytes
-rw-r--r--.vs/slnx.sqlitebin331776 -> 331776 bytes
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp3
4 files changed, 3 insertions, 0 deletions
diff --git a/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo b/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo
index 6625b82..7fafcd3 100644
--- a/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo
+++ b/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo
Binary files 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
--- a/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db
+++ b/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db
Binary files differ
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
index 40a8858..1691a60 100644
--- a/.vs/slnx.sqlite
+++ b/.vs/slnx.sqlite
Binary files 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.
********************************************************************/