CString myString(_T("c:\Documents and Settings\joker\Desktop\Myfile.txt"));
It compiles fine but I received following warnings.....
warning C4129: 'D' : unrecognized character escape sequence
warning C4129: 'j' : unrecognized character escape sequence
warning C4129: 'D' : unrecognized character escape sequence
warning C4129: 'M' : unrecognized character escape sequence
A suggestion... for paths (in API params) / instead of \\ is ok these days.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Bookmarks