hey guys, found a problem when writing a class, not really a problem, more the fact that im not sure what to do about it. Anyway, here's the class:
error C2143: syntax error : missing ';' before '<'Code:class room { public: room(); virtual ~room(); void addAlarm(); void const getAlarms(); protected: std::string name; vector<std::string> alarms; private: };
Now im pretty sure it's going to be because i've used a vector without including the vector header. Is there a way around it, like i have done for the string datatype?
Edit: i actually just included the vector header file, and the errors still crop up