In my main program driver class, I have the following lines:
on my gameLoop prototype, I get a Type Specifier Omitted for Parameter error. I also get a parse error before ')'. On the next line...I get: 'vector' was not defined in this scope. The rest of the errors are the same, plus an error that I cannot pass objects of type `vector<Room,allocator<Room> >' through `...', which I presume means I can't pass vectors from function to function. What's wrong with this?Code:#include "Room.cpp" #include "Entity.cpp" #include <vector> using namespace std; int cleanUp(); int gameLoop(Entity player, vector roomList); int loadMap(vector roomList);
--Ashiq