www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - Another one

Christof,

Please also look at this one.

Thanks,
Steve.

#include <list>

int main()
{
std::list<int> list1;
list1.push_back(100);
list1.push_back( 50);
list1.push_back( 80);
list1.push_back( 70);
list1.push_back( 40);

list1.sort();

return 0;
}
Dec 20 2002