How would I pass an element in a struct array. I have to call the function:
new(Shoe[num], num);
where num is the number of elements in the database. I have declared the function as:
void new(Shoes Shoe[], num);
but I get the error:
cannot convert 'Shoes' to '*Shoes' for argument '1' to 'void new(Shoes*, num int&)'