#include <iostream>
#include <vector>
#include <string>
using std::cout;
using std::endl;
using std::vector;
using std::string;
void print(const vector<string> *const p) {
for (vector<string>::const_iterator it = (*p).begin(); it != (*p).end(); it++)
cout << *it << endl;
}
int main()
{
vector<string> vec{ "c++ php" };
print(&vec);
return 0;
}
/*
run:
c++ php
*/