I have a main.cpp test.h and test.cpp> I am trying to pass my vector through so i can use it in test.cpp but i keep getting errors.
//file: main.cpp i
A vector is not an array.
vector
int tester(vector &s)
(pass as a reference to avoid copying or if you need to modify)
You also need to modify your code inside the tester function to work correctly as a vector.
tester