The author posted a question in Programming
Single link list working with different c++ structures? and got a better answer
Response from
Response from 0[+++++]
Read about polymorphism. You can store pointers to a basic structure in a list that provides some interface that inheritors implement in their own way.
Read about polymorphism. You can store pointers to a basic structure in a list that provides some interface that inheritors implement in their own way.