I initialized a vector of pointers called "antiviral_data", and am able to use antiviral_data.push_back without problems. But when I try to do the same thing with "viral_data" I get an error, because the compiler thinks I am redeclaring "viral_data":
vector<virus*> viral_data;
vector<virus*>::iterator vI;
viral_data.push_back(new X1(9, 9, 'X')); //I get the error on this line
vector<antivirus*> antiviral_data;
vector<antivirus*>::iterator aI;
(FYI: antiviral_data is in another function, this is a header file)
EDIT: X1 is a class derived from virus.