diff options
| author | Nathanturcas <[email protected]> | 2022-10-23 15:18:53 -0700 |
|---|---|---|
| committer | Nathanturcas <[email protected]> | 2022-10-23 15:18:53 -0700 |
| commit | d58c82ca245453920e7acb917c121dac650e7763 (patch) | |
| tree | 6a542565cb57608518b921d9c86433b031885f31 /CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | |
| parent | first commit (diff) | |
| download | cst116-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.cpp | 7 |
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
|