0

Hi,

I'm writing MFC code and i got an error after writing this command line:

CFile f(_T("E:\\testHMM.txt", CFile::modeCreate|CFile::modeWrite));

the error is Debug Assertion Failed!!!

Thanks,

Mostafa Fouly

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Fouly
0

you should have received a compile-time error on that line because it's syntically incorrect -- _T( macro is never closed, needs a ) before the comma.

0

i got a warning after building it not an error...and after closing the macro before the comma the file is created...
Thanks a lot:)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.