aboutsummaryrefslogtreecommitdiff
path: root/Project1/main.cpp
blob: 45749eef5652852876e630cf05667f9636a8488c (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
28
29
30
31
// 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];

	for (auto i = 0u; i < SIZE; ++i)
	{
		array[i] = static_cast<int>(i);
	}


	//PrintArray(array, SIZE);

	DoubleArraySize(array, SIZE);

	delete[] array;
	return 0;
}