diff options
| author | Trenton Stark <[email protected]> | 2022-10-12 21:26:15 -0700 |
|---|---|---|
| committer | Trenton Stark <[email protected]> | 2022-10-12 21:26:15 -0700 |
| commit | 12faa15438107a0e5e06a8b5734ee399d8db66d1 (patch) | |
| tree | ac17aba55a828e238a48bbb36660bf4d0126c457 | |
| parent | Completed exercise 2 (diff) | |
| download | cst116-ch8-debugging-stark-12faa15438107a0e5e06a8b5734ee399d8db66d1.tar.xz cst116-ch8-debugging-stark-12faa15438107a0e5e06a8b5734ee399d8db66d1.zip | |
Completed exercise 3
| -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 8439556..17875d1 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -66,7 +66,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
|