diff options
| author | Kai <[email protected]> | 2022-10-12 19:44:02 -0700 |
|---|---|---|
| committer | Kai <[email protected]> | 2022-10-12 19:44:02 -0700 |
| commit | a3b3fbddb27e52e62bfb5addf4650ba2775bdf59 (patch) | |
| tree | 81fc0e6a9f330d5b08f2a4d017bb231b2e42f5f8 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | stuck (diff) | |
| download | cst116-chapter8-debugging-cobrakai2-a3b3fbddb27e52e62bfb5addf4650ba2775bdf59.tar.xz cst116-chapter8-debugging-cobrakai2-a3b3fbddb27e52e62bfb5addf4650ba2775bdf59.zip | |
figured it out
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 2 |
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
|