Hi everybody!
I have a problem in this test code. The compiler gives me "expected primary expression before <<" when i try to print on file. But if I comment #include <Windows.h> everything is correct (I comment the Sleep() function too or it says me Sleep() is undefined or undeclared).
Do ofstream and windows.h conflict?
P.S. If i declare and use an ifstream variable, it doesn't give me problems