#include <fstream>#include <iostream>using namespace std;
int main(){ ifstream fin("hello.txt"); if (!fin) { cout << "can not open this file" << endl;
} else {
cout << "file exit" << endl; }
return 0;}