C
Crow
Alright....basically I have this:
Object **node;
..
..
..
node = &(*node)->getNextNode(); // <-- ERROR, where getNextNode
returns an Object *
is there any way to do that last statement without resorting to temp
variables i.e.
Object *node temp;
temp = getNextNode();
node = &temp;
Object **node;
..
..
..
node = &(*node)->getNextNode(); // <-- ERROR, where getNextNode
returns an Object *
is there any way to do that last statement without resorting to temp
variables i.e.
Object *node temp;
temp = getNextNode();
node = &temp;