aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vs/cst116-ch7-debugging-Taylorrog/v17/.suobin24064 -> 24064 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 fc127d1..5ec7d3e 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 e3603a0..a5ba7d4 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 7dfaeb4..ea07ab0 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 896b37d..8a7d023 100644
--- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp
@@ -15,6 +15,9 @@
* the value in age is what you typed in.
* 5) Step over the if statement.
* 6) Why did the value in age change?
+*
+* "if" statement is set up incorrectly, it changed value of "age" to 1 instead of comparing the input variable "age" to the number 1
+*
* 7) Fix the problem and repeat Steps 2 � 5 to verify the
* problem was corrected.
* 8) Stop debugging.