aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
diff options
context:
space:
mode:
authorConnor McDowell <[email protected]>2024-02-15 16:52:41 -0800
committerConnor McDowell <[email protected]>2024-02-15 16:52:41 -0800
commitac9e104567f6989d9959d9cf16019adb926a59c2 (patch)
tree75ed3932ea80352c5fe437580bf698b42aa07c5e /Project1/main.cpp
parentlinks created, usings created (diff)
downloadarchived-in-class-exercise-12-connormcdowell275-ac9e104567f6989d9959d9cf16019adb926a59c2.tar.xz
archived-in-class-exercise-12-connormcdowell275-ac9e104567f6989d9959d9cf16019adb926a59c2.zip
print and double created
Diffstat (limited to 'Project1/main.cpp')
-rw-r--r--Project1/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project1/main.cpp b/Project1/main.cpp
index dab64a4..5dd3c7c 100644
--- a/Project1/main.cpp
+++ b/Project1/main.cpp
@@ -13,8 +13,15 @@ using std::endl;
int main()
{
+ constexpr size_t SIZE = 101;
+ int* array = new int[SIZE];
+ PrintArray(array, SIZE);
+ DoubleArraySize(array, SIZE);
+ PrintArray(array, SIZE);
+
+ delete[] array;
return 0;
} \ No newline at end of file