aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprestonderek <[email protected]>2022-10-21 10:20:02 -0700
committerprestonderek <[email protected]>2022-10-21 10:20:02 -0700
commitae89cb1414794a9a886335f056c3ac54a334e6cb (patch)
treedf736db291f8cf8b48bfbcb767bddcec4ea634e7
parentchanged some literals to the const SIZE (diff)
downloadcst116-ch10-debugging-prestonderek-ae89cb1414794a9a886335f056c3ac54a334e6cb.tar.xz
cst116-ch10-debugging-prestonderek-ae89cb1414794a9a886335f056c3ac54a334e6cb.zip
created breakpoint 4 with a condition of x == 8
-rw-r--r--CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp
index a2831ed..4030c20 100644
--- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp
+++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp
@@ -126,6 +126,7 @@ void FunctionOne(int varX[], int varY[])
// Put breakpoint on the following line
varX[x] = x;
+
for (int x = 0; x < SIZE; x++)
varY[x] = x + 100;
}