aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch8-Debugging
diff options
context:
space:
mode:
authorJoe Traver <[email protected]>2022-10-11 19:59:09 -0700
committerJoe Traver <[email protected]>2022-10-11 19:59:09 -0700
commit95688d15b068e98fdfea219f39097ece87d41ae5 (patch)
treed32a374b9a03a564de3e457c6b3612627bd1397f /CST116-Ch8-Debugging
parentRemoved Semicolon (diff)
downloadcst116-chapter8-debugging-joetraver30-95688d15b068e98fdfea219f39097ece87d41ae5.tar.xz
cst116-chapter8-debugging-joetraver30-95688d15b068e98fdfea219f39097ece87d41ae5.zip
Made more fixes
Diffstat (limited to 'CST116-Ch8-Debugging')
-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 53e4a61..f3a6c6f 100644
--- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
+++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp
@@ -62,12 +62,12 @@ int main()
// Breakpoint 1
// Put a breakpoint on the following line
- while (i < 0);
+ while (i < 0)
cout << i << endl;
// Breakpoint 2
// Put a breakpoint on the following line
- for (count = 0; count < 10; count++);
+ for (count = 0; count < 10; count++)
cout << count << endl;
return 0;