Yes, that might like:
#include <vector>
class system{ ... };
std::vector<system> systems;
So, the global var vector is defined after the class system is defined. The vector should be included and don't forget std :: before vector (or using the std namespace).
Edit: I was just thinking about something. There is also a function called the system. Try a different class name.
source
share