diff options
| author | Nathanturcas <[email protected]> | 2022-10-23 15:22:33 -0700 |
|---|---|---|
| committer | Nathanturcas <[email protected]> | 2022-10-23 15:22:33 -0700 |
| commit | 596baf7619dffef2b27f9ff4cf673b9166e8170a (patch) | |
| tree | f637d2d728df938120c8003ee91292a4cfb1b7d4 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | commit 2 (diff) | |
| download | cst116-chapter8-debugging-nathanturcas-596baf7619dffef2b27f9ff4cf673b9166e8170a.tar.xz cst116-chapter8-debugging-nathanturcas-596baf7619dffef2b27f9ff4cf673b9166e8170a.zip | |
commit 3
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index 6f76146..4b86805 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -62,9 +62,9 @@ int main() // Breakpoint 1
// Put a breakpoint on the following line
- while (i <= 10)
+ while (i < 10)
- cout << i << endl;
+ cout << i++ << endl;
|