Sunday, July 12, 2009

Insertion in a list in c++/data structure?

by using template %26lt;list%26gt;


there is a function insert, whats the syntax to use it? what does it do?

Insertion in a list in c++/data structure?
Yes, there is an insert function.


One of the parameters passed in is a list iterator. The inserted object will be inserted in front of the position of the iterator.





For sample code, see:





http://www.cplusplus.com/reference/stl/l...

bouquet

No comments:

Post a Comment