vector<?>
is not in the global namespace. It is in the std
namespace, and unless you want to use using
s, you are going to have to qualify all references to it. Simply replace all instances of vector<?>
that do not have a std::
prefix (such as the one at line 15) with std::vector<?>
and that particular error should go away.