#include "sorting5.h" // same subprograms as sorting but not in the same order sorting5::sorting5(int *elems, int nbElem) { list = elems; this->nbElem = nbElem; } void sorting5::selection_sort3() { int i, j; int posCurMin; int dummy; for(i=0;i list[i+1]) { dummy = list[i]; list[i] = list[i+1]; list[i+1] = dummy; changed = 1; } } } }