#include
using namespace std;
Int main (void)
{
Ofstream op (" file_create. TXT ");
Ifstream in;
Op<" My fault "& lt;
If (in fail ())
cout<" Open the failure "& lt;
cout<" Open the successful "& lt;
}
Tried to STD: : cout useless
Add & lt; Iostream> As useful
????
It's strange!
CodePudding user response:
# include & lt; Iostream>