std::ifstream in("aaa.txt");
while (!in.eof())
{
std::string str;
std::getline(in, str);
if (str.find("score") != std::string::npos)
{
std::cout << str.c_str() << "\n";
}
}
in.close();