- for (int i = 0; i < 10; i++) {
- structure[i] = entiers;
- structure[i].afficher();
- structure[i].compacter(1);
- structure[i].afficher();
-
- structure[i] = liste;
- structure[i].afficher();
- structure[i].compacter(1);
- structure[i].afficher();
- }
+ compactable[0] = entiers;
+ entiers.afficher();
+ compactable[0].compacter(1);
+ entiers.afficher();
+
+ compactable[1] = liste;
+ liste.afficher();
+ compactable[1].compacter(1);
+ liste.afficher();