#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main() {
vector<string> myvect;
myvect.push_back("Golden");
myvect.push_back("Age");
myvect.push_back("Illuminati");
cout << "Print using iterator.\n";
vector<string>::iterator i;
for(i = myvect.begin(); i < myvect.end(); i++)
cout << (*i) << endl;;
cout << "\nPrint using index.\n";
unsigned int index;
for(index = 0; index < myvect.size(); index++)
cout << myvect[index] << endl;
cout << "\nSearch for a value.\n";
i = find(myvect.begin(), myvect.end(), "Illuminati");
if(i != myvect.end())
cout << "Found: " << (*i) << endl;
myvect.clear();
for(i = myvect.begin(); i < myvect.end(); i++)
cout << (*i) << endl;;
return 0;
}