From b6a62aa720dfd2149572b297cc2120d33f30e1e2 Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon Date: Sun, 16 Oct 2022 15:35:20 -0700 Subject: exercise 2 done --- CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp') 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() { -- cgit v1.2.3