I am trying to set up a program that will allow the user to be able input the size of sn object and then build an array from the inputted size. So basically have
cin << size
-then-
int positioan
I am getting an error about having the array be size 0. What am I doing wrong or is there another way to do this?