aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging
diff options
context:
space:
mode:
authorKai <[email protected]>2022-10-12 19:44:02 -0700
committerKai <[email protected]>2022-10-12 19:44:02 -0700
commita3b3fbddb27e52e62bfb5addf4650ba2775bdf59 (patch)
tree81fc0e6a9f330d5b08f2a4d017bb231b2e42f5f8 /CST116-Ch8-Debugging
parentstuck (diff)
downloadcst116-chapter8-debugging-cobrakai2-a3b3fbddb27e52e62bfb5addf4650ba2775bdf59.tar.xz
cst116-chapter8-debugging-cobrakai2-a3b3fbddb27e52e62bfb5addf4650ba2775bdf59.zip
figured it out
Diffstat (limited to 'CST116-Ch8-Debugging')
-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 f10e39d..bafdf58 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -63,7 +63,7 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
while (i < 10)
- cout << i << endl;
+ cout << i++ << endl;
// Breakpoint 2
// Put a breakpoint on the following line