EXTRYZE include /iostream/ include /fstream/ include /string/ using namespace std; int main() { string s, question, response; ifstream fin; do{ cout << "Who are u: "; getline(cin,s); fin.open("input.txt"); if(!fin.is_open()) cout << "file is not found!\n"; while(!fin.eof()) { getline(fin,question); getline(fin,response); if(question==s) cout << "Response: " << response << endl; } fin.close(); }while(s!="stop"); system("pause"); return 0; } P.S "input.txt" never existed/ Users who are followed by EXTRYZE Krewella Chicago SATURATE! coil circuit 172 bpm enthusiast Audeka Skyler Gerdeman Subsidia UKF UKF.com London SOPHIE SOPHIE Y U K I Кирилл Moscow KRYPTA KRYPTA RECORDS R7GE STONE