C++: Fusionner deux conteneurs de type différent May 18, 2012 Author: user {filelink=15242} #include #include #include #include #include #include #include #include using namespace std; int tab1[] = { 2, 3, 4, 6, 8 }; int tab2[] = { 1, 3, 5 }; int main() { list conteneur1(tab1, tab1+5); set conteneur2(tab2, tab2+3); ostream_iterator< int > output( cout, " " ); cout<<"Conteneur1: "; copy(conteneur1.begin(), conteneur1.end(), output); cout< Categories: Uncategorized