just as the name says,
its a snippet but it shows what im asking, at the bottom vector<int> room_size gives me an error, saying its "not a template" and im not even sure what that means. I tried to "bite the bullet" and use a std:: prefix on it but that didnt work either. suggestions?
class ROOM : public OBJECT_ID
{
public:
ROOM() : OBJECT_ID(OT_ROOM)
{
// ERROR CODE
}
ROOM(bool enter) : OBJECT_ID(OT_ROOM)
{
if (enter == true) in_room = true;
if (enter == false) in_room = false;
}
ROOM(int size) : OBJECT_ID(OT_ROOM)
{
}
~ROOM();
private:
bool in_room;
vector<int> room_size;
}
its a snippet but it shows what im asking, at the bottom vector<int> room_size gives me an error, saying its "not a template" and im not even sure what that means. I tried to "bite the bullet" and use a std:: prefix on it but that didnt work either. suggestions?