#include<iostream> #include<fstream> #include<cassert> using namespace std; int main() { ifstream inputStream("input.txt"); if (inputStream.fail()) { cout << "Sees file is not there...or can't open it\n"; return 0; } int x; inputStream >> x; inputStream.close(); }