diff options
| author | Joe Traver <[email protected]> | 2022-10-11 19:59:09 -0700 |
|---|---|---|
| committer | Joe Traver <[email protected]> | 2022-10-11 19:59:09 -0700 |
| commit | 95688d15b068e98fdfea219f39097ece87d41ae5 (patch) | |
| tree | d32a374b9a03a564de3e457c6b3612627bd1397f /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | Removed Semicolon (diff) | |
| download | cst116-chapter8-debugging-joetraver30-95688d15b068e98fdfea219f39097ece87d41ae5.tar.xz cst116-chapter8-debugging-joetraver30-95688d15b068e98fdfea219f39097ece87d41ae5.zip | |
Made more fixes
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 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;
|