vector<string> GetList(string fileName)
{
vector<string> lists;
string str;
ifstream file(fileName + “.dat”);
while(!file.eof()) {
file >> str;
lists.push_back(str);
}
file.close();
return lists;
}
vector<string> GetList(string fileName)
{
vector<string> lists;
string str;
ifstream file(fileName + “.dat”);
while(!file.eof()) {
file >> str;
lists.push_back(str);
}
file.close();
return lists;
}