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
#include .string name should read std::string name etc. Same goes for std::vector.tester() with a vector, yet it expects an array (the two are not interchangeable).s.sizeof() is incorrect for both an array and a vector; for the latter, use s.size() or, better yet, use an iterator.These are just the errors that immediately jump out; there may be more.