Original Post
In a program I am working on I need to be able to maintain a list of objects. i.e. to be able to add, remove, and sort them. I have read that the standard template library can do this for me but I am a bit lost when it comes to sorting the lists.
I have done something similar to this is Java whereby you just make sure that the objects in the list have a comparison method implemented and then the container does the rest, but this doesnt seem to be the case with STL? Could anybody give me a brief introduction in plain english so that I can get my head round this??
Thank you for any help.
Mark Coleman