-
CString
Hi,
I have following CString and ....
Code:
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
Thanks
-
Re: CString
Wouldn't MSDN or your documentation be a better place to look first?
C4129
-
Re: CString
You were right. I should have looked little more there (:
It was \\ instead of \
-
Re: CString
A suggestion... for paths (in API params) / instead of \\ is ok these days.
-
Re: CString
I wished C++ had "verbose" strings like C#. ;) Why don't they think at simple, but helpful things like that?