For some reason my ofstream command isn't working, I can't run my program
Code:#include <iostream> #include <fstream> int Main() { ofstream a_file ("C:\users\jason\excess\testfile.txt"); }
I keep getting these errors, which I don't understand
Line 6: 'ofsteam' undeclared (first use this function)
Line 6: expected ';' before 'a_file'
Lines 6:18 incomplete universal character name \u
and one warning
6:18 unknown escape sequence '\i'