Hello,

I am wondering how I would access an element on a List?

Is it something to do with the iterator?

list<Element*> _children;
_children.push_back(child);
_children.push_back(child);

For example, how would I access the "children" of this list?

Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.