Order order[100]
has is one function in class Order.
for (int i = 0; i < noOrders && index == -1; i++)
if (order[i]->has(isbn))
index = i;
I tried to look up google for the -> but it didnt work.
thank you.
Order order[100]
has is one function in class Order.
for (int i = 0; i < noOrders && index == -1; i++)
if (order[i]->has(isbn))
index = i;
I tried to look up google for the -> but it didnt work.
thank you.
It means the same thing it means anywhere else, that you are getting at a member (of either a struct or a class), but from a pointer instead of an object.
is that the same as order[i].has(isbn)?
It does the same thing that . does, but for a pointer instead of an object.
thank you