My quastion is very simple. Imagine that you have this:
class car
{
......
};
void main()
{
car * mycars[100]
insert_cars(mycars)
}
insert_cars(car & mycars)
{
......
}
The error that my compiler gives is:
cannot convert parameter 1 from 'class quarto *(*)[200]' to 'class quarto &' A reference that is not to 'const' cannot be bound to a non-lvalue
What can i do forcorrect this????