# include & lt; Fstream>
using namespace std;
Int main ()
{
Ofstream OpenFile (" file. TXT ");
OpenFile & lt; <"Learning c + + is very useful." & lt;
return 0;
}
////////////////////////////////////
OpenFile & lt; <"Learning c + + is very useful." & lt;
Note: check the function template instantiation of are compiling "STD: : basic_ostream & lt; Char, STD: : char_traits & lt; char> & STD: : operator & lt;
How to fix it, thank you!