diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-10 16:38:42 -0700 |
|---|---|---|
| committer | Trevor Bouchillon <[email protected]> | 2022-10-10 16:38:42 -0700 |
| commit | ee8e9f37039509250bb260591b44607df789ab02 (patch) | |
| tree | dac37e82fba02b08987e3e7f0f650ff2af4bd7fd | |
| parent | Count is broken. (diff) | |
| download | cst116-chapter8-debugging-daboochillin-ee8e9f37039509250bb260591b44607df789ab02.tar.xz cst116-chapter8-debugging-daboochillin-ee8e9f37039509250bb260591b44607df789ab02.zip | |
Done
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index e64c52e..5c20fbd 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -85,7 +85,7 @@ int main() // Breakpoint 2
// Put a breakpoint on the following line
- for (count = 0; count < 10; count++);
+ for (count = 0; count++; count < 10);
cout << count << endl;
return 0;
|