aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Bouchillon <[email protected]>2022-10-10 16:38:42 -0700
committerTrevor Bouchillon <[email protected]>2022-10-10 16:38:42 -0700
commitee8e9f37039509250bb260591b44607df789ab02 (patch)
treedac37e82fba02b08987e3e7f0f650ff2af4bd7fd
parentCount is broken. (diff)
downloadcst116-chapter8-debugging-daboochillin-ee8e9f37039509250bb260591b44607df789ab02.tar.xz
cst116-chapter8-debugging-daboochillin-ee8e9f37039509250bb260591b44607df789ab02.zip
Done
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
index e64c52e..5c20fbd 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -85,7 +85,7 @@ int main()
// Breakpoint 2
// Put a breakpoint on the following line
- for (count = 0; count < 10; count++);
+ for (count = 0; count++; count < 10);
cout << count << endl;
return 0;