diff options
Diffstat (limited to 'CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp')
| -rw-r--r-- | CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp index 851932d..3c4deab 100644 --- a/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp +++ b/CST116-Ch5-Debugging/CST116-Ch5-Debugging.cpp @@ -25,6 +25,9 @@ * line.
* 10) Step over the next cout statement. Now look at the console
* window. What was printed?
+*
+* Enter percent raise
+*
* 11) Select Stop Debugging either from the Debug menu or from your
* toolbar.
*
@@ -38,7 +41,13 @@ * 5) Notice that the current line of execution is now at the
* calculation.
* 6) Look at your watch. What is the value of money?
+*
+* Money=123.449997
+*
* 7) Hover your mouse pointer over raise. What is its value?
+*
+* Raise=0.100000001
+*
* 8) Step over the calculation. Notice the watch on money is now
* red. This designates that the variable just changed its value.
* 9) What happened to our money? I thought a raise was supposed
|