How to fix undeclared Identifier on Xcode CPP?

  c++

My problem rests here: I looked through multiple forums and couldn’t get anyone with a similar situation. SIZE is the undeclared identifier apparently.

void addGame(Game data[], const unsigned SIZE, unsigned& index)
  {
    if(index >= SIZE)
      {
        cout << "The array is full. Could not add any more data." << endl;

Source: Windows Questions C++

LEAVE A COMMENT