Hello people
I am in need of help with part of my program... How can I edit a element in my percent list?
I want the user to be able to change the percentage (that is aready there) so that it can ... update, and then be sorted it...
void System::editList(list<string>& team, list<double>& percent, list<int>& pv, list<int>& wins, list<int>& losses)
{
system("cls");
percent.sort(bubblesort);
for(it = percent.begin(); it != percent.end(); it++){
cout << ' ' << *it;
cout << endl;
}
system("pause");
system("cls");
}
Thanks