aboutsummaryrefslogtreecommitdiff
path: root/Project1/program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/program.cpp')
-rw-r--r--Project1/program.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/Project1/program.cpp b/Project1/program.cpp
index c21c58a..ddd5d58 100644
--- a/Project1/program.cpp
+++ b/Project1/program.cpp
@@ -5,26 +5,23 @@
#include <iostream>
#include <array>
+#include <vector>
#include "helper.h"
-using std::cout;
-using std::cin;
-using std::endl;
-
int main()
{
- /*int cArray[SIZE];
+ int cArray[SIZE];
for(int i = 0; i < SIZE; i++)
{
cArray[i] = i;
}
- int t;*/
+ int t;
- //std::array<size_t, SIZE> a = { t };
+
std::array<int, SIZE> stdArray = { };
for(int t = 0; t < SIZE; t++)
@@ -32,9 +29,7 @@ int main()
stdArray[t] = t;
}
- //Print(&stdArray);
-
- void Print_std(std::array<int, SIZE> stdArray[]);
+ Print_std(&stdArray);
/*Print(cArray);*/