aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
blob: 5dd3c7c2c450cc4caa2d338e4c8972b2654d47d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Name: Connor McDowell
// date: 2/12/2024
// class: CST116
// reason: inclass exercise 11, 2d arrays

#include <iostream>
#include <ostream>
#include "c_array.h"

using std::cin;
using std::cout;
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;
}