diff options
| author | Kai <[email protected]> | 2022-10-26 17:34:04 -0700 |
|---|---|---|
| committer | Kai <[email protected]> | 2022-10-26 17:34:04 -0700 |
| commit | 7dc3a9ecc98d88f6c1065265f8f530705a76e9b9 (patch) | |
| tree | 56e3f717301668d7f1c04c5a943bff8e9b0fa2cc /CST116-Ch10-Debugging | |
| parent | log in (diff) | |
| download | cst116-ch10-debugging-cobrakai2-7dc3a9ecc98d88f6c1065265f8f530705a76e9b9.tar.xz cst116-ch10-debugging-cobrakai2-7dc3a9ecc98d88f6c1065265f8f530705a76e9b9.zip | |
change the vars
Diffstat (limited to 'CST116-Ch10-Debugging')
| -rw-r--r-- | CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp index 1e3d58b..c9d194e 100644 --- a/CST116-Ch10-Debugging/CST116-Ch10-Debugging.cpp +++ b/CST116-Ch10-Debugging/CST116-Ch10-Debugging.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!
|