diff options
Diffstat (limited to 'CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp')
| -rw-r--r-- | CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp index 88caf88..d73e3a8 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp @@ -48,6 +48,9 @@ * 4) Step into one more time so that the current line is the
* calculation.
* 5) Why is age greyed out in your watch window?
+* ****************************************************************************************************************
+* Not sure if I am reading this incorrectly, but it appears to not be greyed out for me.
+* ****************************************************************************************************************
* 6) Stop debugging.
*
* Debugging Exercise 3
@@ -82,7 +85,7 @@ int GetAge(); int CalcDays(int age);
void PrintResults(int age, int days);
int days = 0;
-int age;
+int age = 0;
int main()
{
|