Dec 15, 2012 at 3:59am
Change the declaration that you aren't showing here to match the definition.
Dec 15, 2012 at 4:25am
i declared it as
list<string> *table[SIZE];
and wanted to pass by ref
void input(list<string>& *x[])
is this correct now .. ?
Dec 15, 2012 at 4:33am
Somewhere above main you had:
void input(list<string> x);
Change that to match the definition of the function.
Last edited on Dec 15, 2012 at 4:33am
Dec 15, 2012 at 7:47am
What you say you want: void input(list<string>* (&x)[11])
What you actually need: void input(list<string>* x[])
Dec 15, 2012 at 4:33pm
thanks for helping bro ... problem solved by using the
list<string> **object;