diff options
| author | TheOtherTonyStark <[email protected]> | 2022-10-23 13:38:41 -0700 |
|---|---|---|
| committer | TheOtherTonyStark <[email protected]> | 2022-10-23 13:38:41 -0700 |
| commit | 6f8be610dda8847237d4938cc16355b724331f4f (patch) | |
| tree | af407d7c398453fecee2d8f6e9da2728525ad738 /CST116-Ch10-Debugging | |
| parent | First Commit (diff) | |
| download | cst116-ch10-debugging-theothertonystark-6f8be610dda8847237d4938cc16355b724331f4f.tar.xz cst116-ch10-debugging-theothertonystark-6f8be610dda8847237d4938cc16355b724331f4f.zip | |
Second Commit
Diffstat (limited to 'CST116-Ch10-Debugging')
| -rw-r--r-- | CST116-Ch10-Debugging/CST116-Ch10-Debugging-Chambers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Chambers.cpp b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Chambers.cpp index 21f2790..9c00299 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Chambers.cpp +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging-Chambers.cpp @@ -84,11 +84,11 @@ void FunctionTwo(const int varX[], const int varY[], int varZ[]); void PrintFunction(const int varX[], const int varY[], const int varZ[]); -const int SIZE = 5; +const int SIZE = 10; int main() { - int varX[5]; + int varX[SIZE]; int varY[SIZE]; int varZ[SIZE]; // Notice how we used the const here! |