aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
diff options
context:
space:
mode:
authorNathanturcas <[email protected]>2022-10-23 15:22:33 -0700
committerNathanturcas <[email protected]>2022-10-23 15:22:33 -0700
commit596baf7619dffef2b27f9ff4cf673b9166e8170a (patch)
treef637d2d728df938120c8003ee91292a4cfb1b7d4 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
parentcommit 2 (diff)
downloadcst116-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.cpp4
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;