#include
#include
#include
using namespace std;
void display(const vector& inventory);
int main()
{
vector inventory;
inventory.push_back("sword");
inventory.push_back("armor");
inventory.push_back("shield");
display(inventory);
return 0;
}
void display(const vector& vec)
{
cout << "Your items:\n";
for (vector::const_iterator iter = vec.begin();
iter != vec.end(); ++iter)
cout << *iter << endl;
}