aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
diff options
context:
space:
mode:
authorNathanturcas <[email protected]>2022-10-23 15:18:53 -0700
committerNathanturcas <[email protected]>2022-10-23 15:18:53 -0700
commitd58c82ca245453920e7acb917c121dac650e7763 (patch)
tree6a542565cb57608518b921d9c86433b031885f31 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
parentfirst commit (diff)
downloadcst116-chapter8-debugging-nathanturcas-d58c82ca245453920e7acb917c121dac650e7763.tar.xz
cst116-chapter8-debugging-nathanturcas-d58c82ca245453920e7acb917c121dac650e7763.zip
commit 2
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
index 53e4a61..6f76146 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -62,8 +62,11 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- while (i < 0);
- cout << i << endl;
+ while (i <= 10)
+
+ cout << i << endl;
+
+
// Breakpoint 2
// Put a breakpoint on the following line