#include
#include
#include
using namespace std;
int main()
{
ostream_iterator< char > output( cout, " " );
char a2[] = { 'a', 'j', 'm', 'a', 'x', 'm', 'a', 'b', 'z'};
vector< char > vec;
for(int i=0; i<9; i++)
vec.push_back(a2[i]);
cout << "Contenu du vecteur: ";
copy( vec.begin(), vec.end(), output );
cout<
Categories:
Uncategorized