123456789
void FTR(){ string type; cout << "Please input the type of book:"; cin >> type; ifstream file("test.txt"); if(!file.is_open()) cout << "Unable to open file\n"; }