I need to declare something like this: apvector<int> roster(10);
I need to change it so that the user can enter the length, so would this work( my compiler can't run vectors so I have no way of checking this)
Please help.
Thanks in Advance.
I need to change it so that the user can enter the length, so would this work( my compiler can't run vectors so I have no way of checking this)
Code:
cout<<"Enter the size of the vector: "; cin>>size; apvector<int> roster(size);
Thanks in Advance.
Comment