Function call error Help!

function is:
void disp_database(Part database[])
{
int i=0;
for (i=o;i<SIZE;i++)
{
cout<< database[i].partNum << ' ';
}
return;
}
struct Part
{
int partNum;
}
Part database[SIZE];

int main()
{
disp_database(database); //error more than one instance of overloaded function


How can i fix this? Thanks
Last edited on
change your function from void to int or whatever your returning
so i changed it to
int disp_database(Part database[])
im still getting the same error
Topic archived. No new replies allowed.