Beiträge von phyllis

    I have a problem I hope somebody kan help me with. I have a number of objects of type



    that I want to put in a STL-list

    Code
    list<code *> tmp_list;

    [FONT=&quot]

    and then I want to sort them so that the code object with the biggest vector<string> files comes first

    [/FONT]

    Code
    tmp_list.sort();

    [FONT=&quot]

    But this doesn't work!? Instead I get a list sorted after int start... Can somebody see what I am doing wrong here? Or is the problem somewhere else in my program?
    [/FONT]