123
std::string infilename; std::cin >> infilename; std::ifstream infile(infilename);//open file with the name infilename