From e76dc25dd4973225e979dc4054a772e7d89368f8 Mon Sep 17 00:00:00 2001 From: tafaar Date: Tue, 11 Oct 2022 18:54:54 -0700 Subject: Did exercise 3.4 --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp') diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index 2aa65ca..9143aff 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -73,8 +73,7 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line while (i < 10) { - cout << i << endl; - i++; + cout << i++ << endl; } // Breakpoint 2 -- cgit v1.2.3