diff options
| author | Taylor Rogers <[email protected]> | 2022-10-08 13:02:09 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-10-08 13:02:09 -0700 |
| commit | 5800ba1ef3bc958a7fc3b9292428ba95a15c42a6 (patch) | |
| tree | 3bf0f865a2e1ca3cf65ac307d81f9ed0eb3abbf0 | |
| parent | add git ignore (diff) | |
| download | cst116-ch7-debugging-taylorrog-5800ba1ef3bc958a7fc3b9292428ba95a15c42a6.tar.xz cst116-ch7-debugging-taylorrog-5800ba1ef3bc958a7fc3b9292428ba95a15c42a6.zip | |
Answered Q6
| -rw-r--r-- | .vs/cst116-ch7-debugging-Taylorrog/v17/.suo | bin | 24064 -> 24064 bytes | |||
| -rw-r--r-- | .vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db | bin | 15200256 -> 15200256 bytes | |||
| -rw-r--r-- | .vs/slnx.sqlite | bin | 331776 -> 331776 bytes | |||
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 3 |
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 Binary files differindex fc127d1..5ec7d3e 100644 --- a/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo +++ b/.vs/cst116-ch7-debugging-Taylorrog/v17/.suo diff --git a/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db b/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db Binary files differindex e3603a0..a5ba7d4 100644 --- a/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db +++ b/.vs/cst116-ch7-debugging-Taylorrog/v17/Browse.VC.db diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite Binary files differindex 7dfaeb4..ea07ab0 100644 --- a/.vs/slnx.sqlite +++ b/.vs/slnx.sqlite 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.
|