diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-12 17:26:04 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-12 17:26:04 -0700 |
| commit | 392ac259082e0598e65fe09e86166ad3ce826d8e (patch) | |
| tree | d14e780d64442d2128054eaa76beb569e72055fd /CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp | |
| parent | Fifth Commit (diff) | |
| download | cst116-chapter8-debugging-theothertonystark-392ac259082e0598e65fe09e86166ad3ce826d8e.tar.xz cst116-chapter8-debugging-theothertonystark-392ac259082e0598e65fe09e86166ad3ce826d8e.zip | |
Sixth Change
Diffstat (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp')
| -rw-r--r-- | CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp index 7de2608..00f53a1 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging-Chambers.cpp @@ -61,6 +61,7 @@ int main() { int i = 0; int count; + count = i; // Breakpoint 1 // Put a breakpoint on the following line @@ -69,7 +70,7 @@ int main() // Breakpoint 2 // Put a breakpoint on the following line - for (count = 0; count < 10; count++); + for (count = 1; count < 10; count++); cout << count << endl; return 0; |