int main() { vector<string> vv = generate(3); //你的那个函数,我不抄全了 for(int i = 0;i<vv.size();i++) cout << vv.at(i) << endl; }