How would I pass an element in a struct array. I have to call the function:
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&)'