Home > Software engineering >  VS2010 compiled through, why can appear in VS2019 note, please correct me modification, thank you!
VS2010 compiled through, why can appear in VS2019 note, please correct me modification, thank you!

Time:10-18

# include & lt; Iostream>
# 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; (STD: : basic_ostream & lt; Char, STD: : char_traits & lt; char> & , const char *) "a reference to the

How to fix it, thank you!


  • Related