Hello,
I am iterating through an integerlist:
for (pointer node=m_exitstack.getfirst();!node==null;node=m_exitstack.getnext(node))
{
....
}
I need to change the value of specific nodes.
I tried node->pdata=value but it does not work
can anyone show me how to change a value in a list node?
Thanks for any help,
Haim
CIntList still uses memory for integers, so try with *(_linked_list)node.*(int)pData = 99
Thank Sapero!
That solved it.
Haim