Arguments are not called. The function currently takes only 3 arguments. The commented out call is trying to pass 4 which obviously makes no sense. 3 != 4. The arrays appear to have the same size therefore you only need to pass one number to the function that indicates this.
switch(choice){
case 1:
//....
case 2:
//....
case 3:
//Problem>> rentMovie(SIZE, numberOfItems, numberOfUsers);
cout<<"\n";
break;
case 7:
break;
}
//Clears everything but menu on screen
system("PAUSE");
system("CLS");
}
return 0;
}
I tried using the const int SIZE, but it didn't work. It says:
error C2664: 'rentMovie' : cannot convert parameter 1 from 'const int' to 'memberInfo []' 333