[c++] Error: vector does not name a type