From 1c56f86409f5a031e6dab4d8c23e38123dc9a9ef Mon Sep 17 00:00:00 2001 From: Asahel Date: Fri, 16 Feb 2024 21:16:46 -0800 Subject: Changes --- Lab1/Source.cpp | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Lab1/Source.cpp (limited to 'Lab1/Source.cpp') diff --git a/Lab1/Source.cpp b/Lab1/Source.cpp new file mode 100644 index 0000000..b3d8541 --- /dev/null +++ b/Lab1/Source.cpp @@ -0,0 +1,46 @@ +//Name: Asahel Lopez +//Date: 2/16/24 +//Class: CST116 +//Assignment: Lab 1 + +#include +#include +#include +int main() { + + int myArray[12000]; + + for (int i = 0; i < 12000; ++i) { + myArray[i] = 0; + } + + + std::array myArray; + + for (int i = 0; i < 12000; ++i) { + myArray[i] = 0; + } + + + std::vectormyVector(12000); + for (int i = 0; i < 12000; ++i) { + myVector[i] = 0; + } + + return 0; +} + + + + + + + + + + + + + + + -- cgit v1.2.3