Original Post
I cant find any examples of comparision functions used in my stl book so I was wondering if anyone good give me a simple example. I have a list of objects list<object> and object is a class with x and y. i want to sort in ascending order x*y.
(Edit: Don't type <object> without using < and &rt around the word object, or it treats it as an object tag in HTML and breaks the thread. Now fixed. -- Kylotan.)
Edited by - Kylotan on December 16, 2001 6:53:54 PM