patcito
17th February 2006, 19:35
I have a list which contains references and another contains prices of each reference. There are some duplicates. It looks like this:
QStringList refList;
QStringList priceList;
{code to fill each list}
I want to get the quantity of each reference and get the price of the sum of each duplicate so to get the result into two QStringList:
QStringList refListWithOutDuplicates;
QStringList priceList;
Any idea what's the best way to do this with Qt?
Thanx in advance
Pat
QStringList refList;
QStringList priceList;
{code to fill each list}
I want to get the quantity of each reference and get the price of the sum of each duplicate so to get the result into two QStringList:
QStringList refListWithOutDuplicates;
QStringList priceList;
Any idea what's the best way to do this with Qt?
Thanx in advance
Pat