Can someone explain to me why "Team" and "NUM_MEMBERS" are undeclared indentifiers? I'm not sure I understand why it's giving me errors for those.
void initialize (vector <Team> & tV, const int ID ,
const string m[NUM_MEMBERS], int arraySize);
void printList (const vector <Team> & tV);
void menu ();
void add (vector <Team> &tV);
int search (const vector <Team> &tV, unsigned int size, int ID);
Thank you for those willing to help me.
Are Team and NUM_MEMBERS defined before those declarations?
Last edited on
Make sure that NUM_MEMBERS has been defined and initialized. Same applies for Team although, you may have to #include the header file for Team (if it exists).
Ok i got it guys, thanks a bunch!
Topic archived. No new replies allowed.