diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-16 15:35:20 -0700 |
|---|---|---|
| committer | Trevor Bouchillon <[email protected]> | 2022-10-16 15:35:20 -0700 |
| commit | b6a62aa720dfd2149572b297cc2120d33f30e1e2 (patch) | |
| tree | e342cd600c1617431f1a961b777c619df3d1e865 /CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | |
| parent | Exercise 1 done (diff) | |
| download | cst116-ch9-debugging-daboochillin-b6a62aa720dfd2149572b297cc2120d33f30e1e2.tar.xz cst116-ch9-debugging-daboochillin-b6a62aa720dfd2149572b297cc2120d33f30e1e2.zip | |
exercise 2 done
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()
{
|