Exemple d’utilisation de vector
float x[5] = { 1.0, 5.0, 3.0, 6.0, 2.0 };
vector<float> v (&x[0], &x[5]);
sort (v.begin(), v.end());
vector<float>::iterator it;
for (it = v.begin(); it != v.end(); ++it, index++)
cout << "v[" << index << "] = " << *it << endl;