aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
diff options
context:
space:
mode:
authorMorgan Cyrus <[email protected]>2022-10-12 21:17:21 -0700
committerMorgan Cyrus <[email protected]>2022-10-12 21:17:21 -0700
commit855fd045e8a1fd76ef7e65ae5806b4e213a592b0 (patch)
treeaaec350089f053a9058ab3fbb5196de9cdbc53ae /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
parentFixed while look in Exercise 1 (diff)
downloadcst116-chapter8-cyrus-855fd045e8a1fd76ef7e65ae5806b4e213a592b0.tar.xz
cst116-chapter8-cyrus-855fd045e8a1fd76ef7e65ae5806b4e213a592b0.zip
Exercise 2 completed.
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp')
-rw-r--r--CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
index bfab1d6..a1bcfe5 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -59,6 +59,8 @@
* 5) Change the "< 0" to a "< 10".
* 6) Stop debugging and repeat Steps 1 � 4 to verify the correction
* worked.
+* done, this also worked.
+*
* 7) Stop debugging.
*/
@@ -96,7 +98,7 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- while (i <= 0)
+ while (i < 10)
{
cout << i << endl;
}