From c1ad1398ae8a8ec876fbd3ebc71cbca105b81d4d Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 12 Oct 2022 19:45:53 -0700 Subject: fixed it --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index bafdf58..ca0ca31 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -67,7 +67,7 @@ int main() // Breakpoint 2 // Put a breakpoint on the following line - for (count = 0; count < 10; count++); + for (count == 0; count < 10; count++); cout << count << endl; return 0; -- cgit v1.2.3