From 658821ee4e79a50e178409415b51a81f90118ed6 Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Wed, 12 Oct 2022 22:18:41 -0700 Subject: Added comments Final Push --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CST116-Ch8-Debugging') diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index b1f423e..190d815 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -72,11 +72,15 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line + + //While the variable i is less than 10 continue to count. while (i < 10) cout << i++ << endl; + // Breakpoint 2 // Put a breakpoint on the following line + //the counting occurs here in this for loop for (count = 0; count < 10; count++) cout << count << endl; -- cgit v1.2.3