8 cout << "Vector comun..." << endl;
10 v.push_back("Hola mundo");
11 string s1 = "String 1";
13 s1 += " <modificado>";
14 for (vector<string>::const_iterator i = v.begin(); i != v.end(); i++) {
15 cout << "Primer elemento: " << *i << endl;
19 cout << "Vector de punteros..." << endl;
21 string s = "Hola mundo";
23 //vp.push_back("Hola mundo");
26 s1 += " <modificado>";
27 for (vector<string*>::const_iterator i = vp.begin(); i != vp.end(); i++) {
28 cout << "Primer elemento: " << **i << endl;